From 733620b9b0e4c20069316b485e12b0e59031cccf Mon Sep 17 00:00:00 2001 From: skeletor Date: Thu, 30 Jan 2020 03:29:38 -0500 Subject: [PATCH] Totem planet should only give effect to planet owner --- .../items/interactions/totems/InteractionTotemPlanet.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/eu/habbo/habbohotel/items/interactions/totems/InteractionTotemPlanet.java b/src/main/java/com/eu/habbo/habbohotel/items/interactions/totems/InteractionTotemPlanet.java index 75b48203..2c49e91c 100644 --- a/src/main/java/com/eu/habbo/habbohotel/items/interactions/totems/InteractionTotemPlanet.java +++ b/src/main/java/com/eu/habbo/habbohotel/items/interactions/totems/InteractionTotemPlanet.java @@ -33,6 +33,11 @@ public class InteractionTotemPlanet extends InteractionDefault { @Override public void onClick(GameClient client, Room room, Object[] objects) throws Exception { + if(client.getHabbo().getHabboInfo().getId() != this.getUserId()) { + super.onClick(client, room, objects); + return; + } + InteractionTotemLegs legs = null; InteractionTotemHead head = null;