From 26266bf9b63593b119b9aa71f6feeb66cd65c819 Mon Sep 17 00:00:00 2001 From: RednedEpic Date: Mon, 4 May 2020 22:01:34 -0500 Subject: [PATCH] Fix black texture of offhand item (Closes #332) --- .../src/main/java/org/geysermc/connector/entity/Entity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/connector/src/main/java/org/geysermc/connector/entity/Entity.java b/connector/src/main/java/org/geysermc/connector/entity/Entity.java index 54355d992..381f8f8e5 100644 --- a/connector/src/main/java/org/geysermc/connector/entity/Entity.java +++ b/connector/src/main/java/org/geysermc/connector/entity/Entity.java @@ -93,6 +93,7 @@ public class Entity { setPosition(position); metadata.put(EntityData.SCALE, 1f); + metadata.put(EntityData.COLOR, 0); metadata.put(EntityData.MAX_AIR, (short) 400); metadata.put(EntityData.AIR, (short) 0); metadata.put(EntityData.LEAD_HOLDER_EID, -1L);