Skip to content

Commit

Permalink
fix enderchest command on targeetting players
Browse files Browse the repository at this point in the history
  • Loading branch information
n-tdi committed Dec 11, 2023
1 parent 2d52762 commit b15990a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public boolean execute(@NonNull CommandSender sender, @NonNull String[] args) {
final String targetName = args[0];
final Player target = Bukkit.getPlayer(targetName);
if (target != null) {
p.openInventory(target.getInventory());
p.openInventory(target.getEnderChest());
}
}
return true;
Expand Down

0 comments on commit b15990a

Please sign in to comment.