oops, fix error

This commit is contained in:
Lemon 2018-01-24 00:00:51 +05:00 committed by GitHub
parent 4f2a6bfcb8
commit 908caafb7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ public class Command_invsee extends FreedomCommand
}
playerSender.closeInventory();
FPlayer fPlayer = plugin.pl.getPlayer(playerSender);
fPlayer.setInvsee(true);
fPlayer.setInvSee(true);
Inventory playerInv = player.getInventory();
playerSender.openInventory(playerInv);
return true;