3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 20:40:08 +01:00

Made suiciding through the /kill command not reliant on pvp being allowed.

Dieser Commit ist enthalten in:
EvilSeph 2011-08-15 14:30:27 -04:00
Ursprung 8ea590bbcc
Commit 26bd45c233

Datei anzeigen

@ -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")) {