updated minestom version, breaking some behaviour

This commit is contained in:
2024-10-06 17:53:41 +02:00
parent 5c4ddf892c
commit a321d243ba
40 changed files with 136 additions and 140 deletions

View File

@@ -10,7 +10,7 @@ import net.minestom.server.MinecraftServer;
import net.minestom.server.coordinate.Pos;
import net.minestom.server.entity.*;
import net.minestom.server.event.player.PlayerMoveEvent;
import net.minestom.server.instance.AnvilLoader;
import net.minestom.server.instance.anvil.AnvilLoader;
import java.util.List;
@@ -25,7 +25,7 @@ public class TournamentDisplay extends MineNetInstance implements Spawnable {
};
public TournamentDisplay(Tournament tournament) {
super(Dimension.OVERWORLD.DIMENSION);
super(Dimension.OVERWORLD.key);
setChunkLoader(new AnvilLoader(Resource.RESULT_DISPLAY.getPath()));
this.places = tournament.getPlaces();
this.tournament = tournament;