Totem planet should only give effect to planet owner

This commit is contained in:
skeletor 2020-01-30 03:29:38 -05:00 committed by Alejandro
parent 2f6ec01518
commit 733620b9b0

View File

@ -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;