forked from kaboomserver/extras
Update command names
This commit is contained in:
parent
8ad4bfe961
commit
d68c8e54d0
3 changed files with 9 additions and 4 deletions
|
@ -1,5 +1,7 @@
|
|||
package pw.kaboom.extras;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
|
@ -60,7 +62,6 @@ class BlockPhysics implements Listener {
|
|||
continue;
|
||||
} else {
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -351,6 +351,9 @@ class EntitySpawn implements Listener {
|
|||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
/*System.out.println("better work");
|
||||
event.getEntity().setPickupDelay(99999);
|
||||
event.getEntity().setItemStack(new ItemStack(Material.TORCH));*/
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
|
|
|
@ -5,6 +5,10 @@ api-version: 1.13
|
|||
version: master
|
||||
|
||||
commands:
|
||||
broadcastraw:
|
||||
aliases: [bcraw, tellraw]
|
||||
description: Broadcasts raw text to the server
|
||||
permission: extras.broadcastraw
|
||||
clearchat:
|
||||
aliases: cc
|
||||
description: Clears messages from the chat
|
||||
|
@ -43,9 +47,6 @@ commands:
|
|||
spidey:
|
||||
description: Annoying little spider...
|
||||
permission: extras.spidey
|
||||
tellraw:
|
||||
description: Broadcasts raw text to the server
|
||||
permission: extras.tellraw
|
||||
unloadchunks:
|
||||
aliases: uc
|
||||
description: Unloads all unused chunks
|
||||
|
|
Loading…
Reference in a new issue