mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 02:55:47 +01:00
Fix weird test import in EnderDragonPhaseTest
This commit is contained in:
parent
c088132472
commit
364b6fbb73
@ -1,6 +1,5 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
import static junit.framework.TestCase.*;
|
||||
import net.minecraft.server.DragonControllerPhase;
|
||||
import org.bukkit.craftbukkit.entity.CraftEnderDragon;
|
||||
import org.junit.Assert;
|
||||
@ -12,8 +11,8 @@ public class EnderDragonPhaseTest {
|
||||
public void testNotNull() {
|
||||
for (EnderDragon.Phase phase : EnderDragon.Phase.values()) {
|
||||
DragonControllerPhase dragonControllerPhase = CraftEnderDragon.getMinecraftPhase(phase);
|
||||
assertNotNull(phase.name(), dragonControllerPhase);
|
||||
assertNotNull(phase.name(), CraftEnderDragon.getBukkitPhase(dragonControllerPhase));
|
||||
Assert.assertNotNull(phase.name(), dragonControllerPhase);
|
||||
Assert.assertNotNull(phase.name(), CraftEnderDragon.getBukkitPhase(dragonControllerPhase));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user