Open L4BORG opened 7 years ago
... activation would make Wither invisible.
https://github.com/DSH105/EchoPet/blob/06947a8b08ce40be9a518c2982af494b3b99d140/modules/v1_8_R3/src/main/java/com/dsh105/echopet/compat/nms/v1_8_R3/entity/type/EntityWitherPet.java#L47
should be 1 || 0
@L4BORG I don't understand. 1 || 0 isn't a valid expression.
1 || 0
... should be 1 or 0
https://github.com/TechzoneMC/SonarPet/blob/e97fae2b9b377d7afa1f619c178f25b0d828d58b/core/src/main/java/net/techcable/sonarpet/nms/entity/type/EntityWitherPet.java#L22
getEntity().getDataWatcher().setInteger(SHIELDED_METADATA_ID, (flag ? 1 : 0));
... activation would make Wither invisible.