Check player reputation upon delete.

This commit is contained in:
MobiusDevelopment
2020-12-27 14:30:38 +00:00
parent fc085420e5
commit 8ba81051f7

View File

@@ -10819,7 +10819,10 @@ public class PlayerInstance extends Playable
{ {
EventDispatcher.getInstance().notifyEventAsync(new OnPlayerLogout(this), this); EventDispatcher.getInstance().notifyEventAsync(new OnPlayerLogout(this), this);
World.getInstance().removePkPlayer(this); if (getReputation() < 0)
{
World.getInstance().removePkPlayer(this);
}
try try
{ {