death-chest icon indicating copy to clipboard operation
death-chest copied to clipboard

Not permission for chest

Open KikyoC opened this issue 1 year ago • 1 comments

Hey,

The plugin says that I don't have permissions. I think that bug is from CombinedProtectionService#canBuild

This is what I do for fixing that bug @Override public boolean canBuild(@NotNull Player player, @NotNull Location location, @NotNull Material material) { for (ProtectionService service : services) { if (!service.canBuild(player, location, material)) { return false; } } return true; }

KikyoC avatar Sep 09 '24 21:09 KikyoC

Hey @KikyoC , When does the plugin say you don't have permission? Because the class is for checking the location where the player died and whether the player could build a chest in that area.

Best reguards

DevCyntrix avatar Oct 21 '24 06:10 DevCyntrix