Fixed errors related to console command usage.
Console commands were working, but sending messages from them was not.
This commit is contained in:
@@ -39,6 +39,12 @@ class SendPlayerMessageTask implements Runnable
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
if(player == null)
|
||||
{
|
||||
GriefPrevention.AddLogEntry(color + message);
|
||||
return;
|
||||
}
|
||||
|
||||
//if the player is dead, save it for after his respawn
|
||||
if(this.player.isDead())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user