Fix for NPE on /f who command by in-game player
This commit is contained in:
parent
a6d2a292aa
commit
dba406e52b
@ -53,7 +53,7 @@ public class FBaseCommand {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.senderMustBePlayer) {
|
if (sender instanceof Player) {
|
||||||
this.player = (Player)sender;
|
this.player = (Player)sender;
|
||||||
this.me = FPlayer.get(this.player);
|
this.me = FPlayer.get(this.player);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user