mirror of
https://github.com/songoda/UltimateModeration.git
synced 2025-01-31 03:31:27 +01:00
Fixes normal Inventory being opened instead of EnderChest-Inventory
closes #1
This commit is contained in:
parent
fb06833b27
commit
74bcd22974
@ -39,7 +39,7 @@ public class ViewEnderChestModeration extends AbstractModeration {
|
||||
protected boolean runModeration(CommandSender runner, OfflinePlayer toModerate) {
|
||||
Player toModeratePlayer = (Player) toModerate;
|
||||
|
||||
((Player) runner).openInventory(toModeratePlayer.getInventory());
|
||||
((Player) runner).openInventory(toModeratePlayer.getEnderChest());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user