mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-10 09:31:57 +01:00
Made suiciding through the /kill command not reliant on pvp being allowed.
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
parent
6d7cc61d4d
commit
1bf14e8416
@ -374,7 +374,7 @@ public final class CraftServer implements Server {
|
||||
getPluginManager().callEvent(ede);
|
||||
if (ede.isCancelled()) return true;
|
||||
|
||||
player.damage(ede.getDamage(), player);
|
||||
player.damage(ede.getDamage());
|
||||
return true;
|
||||
} else if (commandLine.toLowerCase().startsWith("tell ")) {
|
||||
if (!player.hasPermission("craftbukkit.command.tell")) {
|
||||
|
Loading…
Reference in New Issue
Block a user