mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-13 02:18:34 +00:00
Fixing marco's mistakes (#8)
This commit is contained in:
@ -40,12 +40,11 @@ public class Command_invsee extends FreedomCommand
|
||||
{
|
||||
msg("You can't spy on admins!");
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
playerSender.closeInventory();
|
||||
FPlayer fPlayer = plugin.pl.getPlayer(playerSender);
|
||||
fPlayer.setInvsee(true);
|
||||
fPlayer.setInvSee(true);
|
||||
Inventory playerInv = player.getInventory();
|
||||
playerSender.openInventory(playerInv);
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user