diff --git a/src/test/java/net/minestom/server/entity/player/PlayerRespawnChunkTest.java b/src/test/java/net/minestom/server/entity/player/PlayerRespawnChunkIntegrationTest.java similarity index 96% rename from src/test/java/net/minestom/server/entity/player/PlayerRespawnChunkTest.java rename to src/test/java/net/minestom/server/entity/player/PlayerRespawnChunkIntegrationTest.java index dcad4b697..0016fbe61 100644 --- a/src/test/java/net/minestom/server/entity/player/PlayerRespawnChunkTest.java +++ b/src/test/java/net/minestom/server/entity/player/PlayerRespawnChunkIntegrationTest.java @@ -19,8 +19,7 @@ import static org.junit.jupiter.api.Assertions.*; @EnvTest -public class PlayerRespawnChunkTest { - +public class PlayerRespawnChunkIntegrationTest { @Test public void testChunkUnloadsOnRespawn(Env env) { @@ -64,7 +63,7 @@ public class PlayerRespawnChunkTest { Set duplicateCheck = new HashSet<>(); int chunkLoads = ChunkUtils.getChunkCount(MinecraftServer.getChunkViewDistance()); loadChunkTracker.assertCount(chunkLoads); - for(ChunkDataPacket packet : dataPacketList) { + for (ChunkDataPacket packet : dataPacketList) { assertFalse(duplicateCheck.contains(packet)); duplicateCheck.add(packet); assertTrue(Math.abs(packet.chunkX()) <= MinecraftServer.getChunkViewDistance() && Math.abs(packet.chunkZ()) <= MinecraftServer.getChunkViewDistance());