Skip to content

Commit b845d00

Browse files
author
UserNugget
committed
Fix typo
1 parent b1a8e47 commit b845d00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/src/main/java/net/elytrium/limboapi/server/LimboPlayerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public void sendImage(int mapID, BufferedImage image, boolean sendItem, boolean
125125
if (sendItem) {
126126
if (this.version.noLessThan(ProtocolVersion.MINECRAFT_1_20_5)) {
127127
this.setInventory(36, SimpleItem.fromItem(Item.FILLED_MAP), 1, mapID,
128-
this.plugin.createItemComponentMap().add(ProtocolVersion.MINECRAFT_1_20_5, "minecraft:map_id", 0));
128+
this.plugin.createItemComponentMap().add(ProtocolVersion.MINECRAFT_1_20_5, "minecraft:map_id", mapID));
129129
} else if (this.version.noLessThan(ProtocolVersion.MINECRAFT_1_17)) {
130130
this.setInventory(36, SimpleItem.fromItem(Item.FILLED_MAP), 1, mapID,
131131
CompoundBinaryTag.builder().put("map", IntBinaryTag.intBinaryTag(mapID)).build());

0 commit comments

Comments
 (0)