bloodmc/GriefDefenderAPI

Changing type of Visualization not working

Closed this issue · 1 comments

I'm trying to change the visual to ClaimVisualTypes.ERROR but it ends up showing the gold block and glowstone version instead of netherrack and redstone ore.

ClaimVisual visual = claim.getClaimVisual();
visual.setType(ClaimVisualTypes.ERROR);
visual.apply(player.getUniqueId(), false);

This was a implementation bug and was fixed in commit bloodmc/GriefDefender@4db8346