Fix black texture of offhand item (Closes #332)

This commit is contained in:
RednedEpic 2020-05-04 22:01:34 -05:00
parent eeb4cafbc8
commit 26266bf9b6

View file

@ -93,6 +93,7 @@ public class Entity {
setPosition(position); setPosition(position);
metadata.put(EntityData.SCALE, 1f); metadata.put(EntityData.SCALE, 1f);
metadata.put(EntityData.COLOR, 0);
metadata.put(EntityData.MAX_AIR, (short) 400); metadata.put(EntityData.MAX_AIR, (short) 400);
metadata.put(EntityData.AIR, (short) 0); metadata.put(EntityData.AIR, (short) 0);
metadata.put(EntityData.LEAD_HOLDER_EID, -1L); metadata.put(EntityData.LEAD_HOLDER_EID, -1L);