From b3a05be0c691f5ac74a4ec3cca667ed16ff70ea0 Mon Sep 17 00:00:00 2001 From: Woder <17339354+wode490390@users.noreply.github.com> Date: Wed, 21 Aug 2019 01:42:23 +0800 Subject: [PATCH] Fix entity attribute --- src/main/java/org/itxtech/nemisys/Server.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/itxtech/nemisys/Server.java b/src/main/java/org/itxtech/nemisys/Server.java index 59ba0cbd..3ee060d9 100644 --- a/src/main/java/org/itxtech/nemisys/Server.java +++ b/src/main/java/org/itxtech/nemisys/Server.java @@ -16,6 +16,7 @@ import org.itxtech.nemisys.network.SynapseInterface; import org.itxtech.nemisys.network.protocol.mcpe.BatchPacket; import org.itxtech.nemisys.network.protocol.mcpe.DataPacket; +import org.itxtech.nemisys.network.protocol.mcpe.types.entity.Attribute; import org.itxtech.nemisys.network.query.QueryHandler; import org.itxtech.nemisys.network.rcon.RCON; import org.itxtech.nemisys.permission.DefaultPermissions; @@ -176,6 +177,8 @@ public Server(MainLogger logger, final String filePath, String dataPath, String this.consoleSender = new ConsoleCommandSender(); this.commandMap = new SimpleCommandMap(this); + Attribute.init(); + this.pluginManager = new PluginManager(this, this.commandMap); this.pluginManager.registerInterface(JavaPluginLoader.class); this.queryRegenerateEvent = new QueryRegenerateEvent(this, 5);