mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-27 12:46:09 +01:00
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;
|
||||
}
|
||||
|
||||
if (this.senderMustBePlayer) {
|
||||
if (sender instanceof Player) {
|
||||
this.player = (Player)sender;
|
||||
this.me = FPlayer.get(this.player);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user