reset player level

This commit is contained in:
2025-07-19 02:21:23 +02:00
parent 7591ce29ff
commit 460d737d3d

View File

@ -71,6 +71,7 @@ public class Room extends MineNetInstance implements Spawnable {
p.getAttribute(Attribute.ENTITY_INTERACTION_RANGE).setBaseValue(p.getAttribute(Attribute.ENTITY_INTERACTION_RANGE).attribute().defaultValue());
p.heal();
p.setExp(0);
p.setLevel(0);
rooms.add(room);
players.put(p, room);
MoveInstance.move(p, room);