@EventHandler
public void onPlayerInteract(PlayerInteractEvent e) {
try {
if (e.getHand() != EquipmentSlot.HAND)
return;
} catch (Error ignored) {
}
if (e.getAction() != Action.PHYSICAL)
onClick(e); // this method cancels the event by himself
}
HotbarManager.java 文件源码
java
阅读 20
收藏 0
点赞 0
评论 0
项目:uppercore
作者:
评论列表
文章目录