mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
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();
|
||||
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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue