@SubscribeEvent public void onInteract(PlayerInteractEvent event) {
if (event.action == PlayerInteractEvent.Action.LEFT_CLICK_BLOCK) {
ChatUtils.addChatMessage("LEFT CLICK");
}
}
and this code only work in single player, how can i fix it?
1 reply
Important Information
By using this site, you agree to our Terms of Use.