remove using_item from default properties since it does nothing for most types

This commit is contained in:
Pyrbu 2023-08-26 22:19:58 +02:00
parent 9bb74de8e6
commit 5948993346

@ -109,7 +109,7 @@ public class NpcTypeImpl implements NpcType {
public NpcTypeImpl build() { public NpcTypeImpl build() {
ServerVersion version = PacketEvents.getAPI().getServerManager().getVersion(); ServerVersion version = PacketEvents.getAPI().getServerManager().getVersion();
addProperties("fire", "invisible", "silent", "look", addProperties("fire", "invisible", "silent", "look",
"using_item", "potion_color", "potion_ambient", "dinnerbone"); "potion_color", "potion_ambient", "dinnerbone");
if (version.isNewerThanOrEquals(ServerVersion.V_1_9)) addProperties("glow"); if (version.isNewerThanOrEquals(ServerVersion.V_1_9)) addProperties("glow");
if (version.isNewerThanOrEquals(ServerVersion.V_1_14)) { if (version.isNewerThanOrEquals(ServerVersion.V_1_14)) {
addProperties("pose"); addProperties("pose");