add inventory

This commit is contained in:
AlphaAE
2019-05-09 14:18:34 +08:00
parent 56c39c472b
commit 0a91ebcf17
2 changed files with 19 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import cn.nukkit.plugin.PluginBase;
import cn.nukkit.plugin.PluginManager;
import com.alphaae.mcpe.servers.command.HiCommand;
import com.alphaae.mcpe.servers.event.FormRespondedEvent;
import com.alphaae.mcpe.servers.event.PlayerInventoryEvent;
import com.alphaae.mcpe.servers.event.PlayerInteractSetEvent;
import com.alphaae.mcpe.servers.event.PlayerJoinQuitEvent;
@ -51,5 +52,6 @@ public class MainPlugin extends PluginBase {
pluginManager.registerEvents(new PlayerJoinQuitEvent(), this);
pluginManager.registerEvents(new PlayerInteractSetEvent(), this);
pluginManager.registerEvents(new FormRespondedEvent(), this);
pluginManager.registerEvents(new PlayerInventoryEvent(), this);
}
}