Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
Fix weird test import in EnderDragonPhaseTest
Dieser Commit ist enthalten in:
Ursprung
c088132472
Commit
364b6fbb73
@ -1,6 +1,5 @@
|
|||||||
package org.bukkit.entity;
|
package org.bukkit.entity;
|
||||||
|
|
||||||
import static junit.framework.TestCase.*;
|
|
||||||
import net.minecraft.server.DragonControllerPhase;
|
import net.minecraft.server.DragonControllerPhase;
|
||||||
import org.bukkit.craftbukkit.entity.CraftEnderDragon;
|
import org.bukkit.craftbukkit.entity.CraftEnderDragon;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
@ -12,8 +11,8 @@ public class EnderDragonPhaseTest {
|
|||||||
public void testNotNull() {
|
public void testNotNull() {
|
||||||
for (EnderDragon.Phase phase : EnderDragon.Phase.values()) {
|
for (EnderDragon.Phase phase : EnderDragon.Phase.values()) {
|
||||||
DragonControllerPhase dragonControllerPhase = CraftEnderDragon.getMinecraftPhase(phase);
|
DragonControllerPhase dragonControllerPhase = CraftEnderDragon.getMinecraftPhase(phase);
|
||||||
assertNotNull(phase.name(), dragonControllerPhase);
|
Assert.assertNotNull(phase.name(), dragonControllerPhase);
|
||||||
assertNotNull(phase.name(), CraftEnderDragon.getBukkitPhase(dragonControllerPhase));
|
Assert.assertNotNull(phase.name(), CraftEnderDragon.getBukkitPhase(dragonControllerPhase));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren