Update to 1.14.1, first dev build. Other changes included.

This commit is contained in:
libraryaddict
2019-05-18 18:54:51 +12:00
parent 5208424373
commit a834190209
86 changed files with 1228 additions and 610 deletions

View File

@@ -0,0 +1,25 @@
package me.libraryaddict.disguise.utilities;
import me.libraryaddict.disguise.disguisetypes.DisguiseType;
import org.bukkit.entity.EntityType;
import org.junit.Assert;
import org.junit.Test;
/**
* Created by libraryaddict on 4/05/2019.
*/
public class DisguiseTypesTest {
@Test
public void testDisguiseTypes() {
for (EntityType entityType : EntityType.values()) {
if (entityType == EntityType.LIGHTNING) {
continue;
}
DisguiseType disguiseType = DisguiseType.getType(entityType);
Assert.assertSame(entityType.name() + " has no DisguiseType registered!", disguiseType.name(),
entityType.name());
}
}
}