diff --git a/src/main/java/xyz/nucleoid/plasmid/api/game/common/team/TeamSelectionLobby.java b/src/main/java/xyz/nucleoid/plasmid/api/game/common/team/TeamSelectionLobby.java index ff21a83e..4ea63565 100644 --- a/src/main/java/xyz/nucleoid/plasmid/api/game/common/team/TeamSelectionLobby.java +++ b/src/main/java/xyz/nucleoid/plasmid/api/game/common/team/TeamSelectionLobby.java @@ -112,7 +112,7 @@ private ActionResult onUseItem(ServerPlayerEntity player, Hand hand) { player.sendMessage(message, false); - return ActionResult.SUCCESS; + return ActionResult.SUCCESS_SERVER; } } diff --git a/src/main/java/xyz/nucleoid/plasmid/impl/Plasmid.java b/src/main/java/xyz/nucleoid/plasmid/impl/Plasmid.java index 754d1065..f3095520 100644 --- a/src/main/java/xyz/nucleoid/plasmid/impl/Plasmid.java +++ b/src/main/java/xyz/nucleoid/plasmid/impl/Plasmid.java @@ -97,7 +97,7 @@ private void registerCallbacks() { && hand == Hand.MAIN_HAND ) { if (portalInterface.interactWithPortal(serverPlayer)) { - return ActionResult.SUCCESS; + return ActionResult.SUCCESS_SERVER; } }