mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 07:20:50 +01:00
Totem planet should only give effect to planet owner
This commit is contained in:
parent
2f6ec01518
commit
733620b9b0
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user