forked from GeyserMC/Geyser
Fix first item of creative inventory not showing
This commit is contained in:
parent
2e0eb6dfb7
commit
e3e8bb2799
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ public class GeyserSession implements CommandSender {
|
||||||
|
|
||||||
CreativeContentPacket creativePacket = new CreativeContentPacket();
|
CreativeContentPacket creativePacket = new CreativeContentPacket();
|
||||||
for (int i = 0; i < ItemRegistry.CREATIVE_ITEMS.length; i++) {
|
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);
|
upstream.sendPacket(creativePacket);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue