From e3e8bb27997b2fb20ba6beaea3d975a7a09ad0fd Mon Sep 17 00:00:00 2001 From: AJ Ferguson Date: Sat, 27 Jun 2020 20:47:10 -0800 Subject: [PATCH] Fix first item of creative inventory not showing --- .../org/geysermc/connector/network/session/GeyserSession.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connector/src/main/java/org/geysermc/connector/network/session/GeyserSession.java b/connector/src/main/java/org/geysermc/connector/network/session/GeyserSession.java index 101726f1..b72a4f9b 100644 --- a/connector/src/main/java/org/geysermc/connector/network/session/GeyserSession.java +++ b/connector/src/main/java/org/geysermc/connector/network/session/GeyserSession.java @@ -226,7 +226,7 @@ public class GeyserSession implements CommandSender { CreativeContentPacket creativePacket = new CreativeContentPacket(); for (int i = 0; i < ItemRegistry.CREATIVE_ITEMS.length; i++) { - creativePacket.getEntries().put(i, ItemRegistry.CREATIVE_ITEMS[i]); + creativePacket.getEntries().put(i + 1, ItemRegistry.CREATIVE_ITEMS[i]); } upstream.sendPacket(creativePacket);