geforkt von Mirrors/Paper
Made suiciding through the /kill command not reliant on pvp being allowed.
Dieser Commit ist enthalten in:
Ursprung
8ea590bbcc
Commit
26bd45c233
@ -374,7 +374,7 @@ public final class CraftServer implements Server {
|
|||||||
getPluginManager().callEvent(ede);
|
getPluginManager().callEvent(ede);
|
||||||
if (ede.isCancelled()) return true;
|
if (ede.isCancelled()) return true;
|
||||||
|
|
||||||
player.damage(ede.getDamage(), player);
|
player.damage(ede.getDamage());
|
||||||
return true;
|
return true;
|
||||||
} else if (commandLine.toLowerCase().startsWith("tell ")) {
|
} else if (commandLine.toLowerCase().startsWith("tell ")) {
|
||||||
if (!player.hasPermission("craftbukkit.command.tell")) {
|
if (!player.hasPermission("craftbukkit.command.tell")) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren