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