Compare commits

..

2 commits

Author SHA1 Message Date
066bae3d90 add log when plr switch zone
All checks were successful
/ Auto-Build-App (push) Successful in 1m19s
2025-02-23 22:53:33 +01:00
4071b5fc21 fix wrong variable 2025-02-23 22:51:20 +01:00
2 changed files with 7 additions and 1 deletions

View file

@ -50,7 +50,7 @@ public class Area {
n.x=(int)n.x;
n.y=(int)n.y;
n.z=(int)n.z;
return space.contains(c);
return space.contains(n);
}
public boolean does_intersect(BoundingBox c){

View file

@ -55,6 +55,12 @@ public class TokenSwitchZone implements BaseToken {
old.removePlayer(player);
}
System.out.println("--------------------------");
System.out.println("Player "+player.getUsername());
System.out.println("Old "+old.zoneId);
System.out.println("New "+zone.zoneId);
System.out.println("--------------------------");
return true;
}
}