Merge branch 'patch-totem-effect' into 'dev'

Totem planet should only give effect to planet owner

See merge request morningstar/Arcturus-Community!89
This commit is contained in:
Alejandro 2020-01-30 03:29:38 -05:00
commit f32d6bbb73

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;