Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 16:12:46 +01:00
Fix first item of creative inventory not showing
Dieser Commit ist enthalten in:
Ursprung
2e0eb6dfb7
Commit
e3e8bb2799
@ -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);
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren