mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-13 11:41:52 +01:00
Fix build
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
6a83fd6ac8
commit
624ccbdee8
@ -1,8 +1,8 @@
|
||||
package net.minestom.server.entity.player;
|
||||
|
||||
import net.minestom.server.api.Collector;
|
||||
import net.minestom.server.api.Env;
|
||||
import net.minestom.server.api.EnvTest;
|
||||
import net.minestom.server.api.TestConnection;
|
||||
import net.minestom.server.coordinate.Pos;
|
||||
import net.minestom.server.entity.GameMode;
|
||||
import net.minestom.server.entity.Player;
|
||||
@ -17,7 +17,8 @@ import java.time.Duration;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
@EnvTest
|
||||
public class PlayerIntegrationTest {
|
||||
@ -62,7 +63,7 @@ public class PlayerIntegrationTest {
|
||||
DeclareCommandsPacket.class, EntityPropertiesPacket.class, EntityStatusPacket.class,
|
||||
UpdateHealthPacket.class, PlayerAbilitiesPacket.class
|
||||
);
|
||||
final List<TestConnection.PacketTracker<?>> trackers = new ArrayList<>();
|
||||
final List<Collector<?>> trackers = new ArrayList<>();
|
||||
for (var packet : packets) {
|
||||
trackers.add(connection.trackIncoming(packet));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user