3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-20 06:50:09 +01:00

Fix first item of creative inventory not showing

Dieser Commit ist enthalten in:
AJ Ferguson 2020-06-27 20:47:10 -08:00
Ursprung 2e0eb6dfb7
Commit e3e8bb2799

Datei anzeigen

@ -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);