mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 18:45:29 +01:00
Fix typo
This commit is contained in:
parent
772ab5fb7b
commit
74989cd93e
@ -248,7 +248,7 @@ public class NMS {
|
||||
}
|
||||
|
||||
public static void setPeekShulker(org.bukkit.entity.Entity entity, int peek) {
|
||||
if (entity.getType().name().equals("SHULKER")) {
|
||||
if (!entity.getType().name().equals("SHULKER")) {
|
||||
throw new IllegalArgumentException("entity must be a shulker");
|
||||
}
|
||||
BRIDGE.setPeekShulker(entity, peek);
|
||||
|
Loading…
Reference in New Issue
Block a user