mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-16 20:31:30 +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) {
|
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");
|
throw new IllegalArgumentException("entity must be a shulker");
|
||||||
}
|
}
|
||||||
BRIDGE.setPeekShulker(entity, peek);
|
BRIDGE.setPeekShulker(entity, peek);
|
||||||
|
Loading…
Reference in New Issue
Block a user