mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 08:50:51 +01:00
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:
commit
f32d6bbb73
@ -33,6 +33,11 @@ public class InteractionTotemPlanet extends InteractionDefault {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onClick(GameClient client, Room room, Object[] objects) throws Exception {
|
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;
|
InteractionTotemLegs legs = null;
|
||||||
InteractionTotemHead head = null;
|
InteractionTotemHead head = null;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user