Fixed NameAboveHeadVisible
This commit is contained in:
		| @@ -200,7 +200,7 @@ public class FlagWatcher { | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     public boolean isCustomNameVisible() { |     public boolean isCustomNameVisible() { | ||||||
|         return (byte) getValue(3, (byte) 0) == 1; |         return (boolean) getValue(3, false); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     public boolean isEntityAnimationsAdded() { |     public boolean isEntityAnimationsAdded() { | ||||||
| @@ -310,7 +310,7 @@ public class FlagWatcher { | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     public void setCustomNameVisible(boolean display) { |     public void setCustomNameVisible(boolean display) { | ||||||
|         setValue(3, (byte) (display ? 1 : 0)); |         setValue(3, display); | ||||||
|         sendData(3); |         sendData(3); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user