Update README command list

This commit is contained in:
mathiascode 2020-04-21 17:39:41 +03:00
parent f74c38f83d
commit cf138a561b
2 changed files with 5 additions and 5 deletions

View file

@ -7,6 +7,7 @@ Extras is a Bukkit plugin that that adds extra functionality to the Kaboom serve
| Command | Aliases | Permission | Description |
| ------- | ----- | ---------- | ----------- |
|/broadcastraw | /bcraw, /tellraw | extras.broadcastraw | Broadcasts raw text to the server|
|/broadcastvanilla | /bcv | extras.broadcastvanilla | Broadcasts text in vanilla style|
|/clearchat | /cc | extras.clearchat | Clears messages from the chat|
|/console | | extras.console | Broadcasts a message as the console|
|/destroyentities | /de | extras.destroyentities | Destroys all entities in every world|
@ -18,7 +19,6 @@ Extras is a Bukkit plugin that that adds extra functionality to the Kaboom serve
|/skin | | extras.skin | Changes your skin|
|/spawn | | extras.spawn | Teleports you to spawn|
|/spidey | | extras.spidey | Annoying little spider...|
|/unloadchunks | /uc | extras.unloadchunks | Unloads all unused chunks|
|/username | | extras.username | Changes your username on the server|
@ -31,4 +31,4 @@ mvn package
The generated .jar file will be located in the target/ folder.
## License
[Unlicense](https://unlicense.org/)
[Unlicense](https://unlicense.org/)

View file

@ -90,9 +90,9 @@ public final class PlayerDamage implements Listener {
player.setFireTicks(0);
player.setRemainingAir(player.getMaximumAir());
for (PotionEffect effect : player.getActivePotionEffects()) {
player.removePotionEffect(effect.getType());
}
for (PotionEffect effect : player.getActivePotionEffects()) {
player.removePotionEffect(effect.getType());
}
event.setCancelled(true);
}