I need help with creating a Glowstone Mountain faction that will only allow people to break glowstone in the claim.
I can make the factionREDACTED
if (factionAt instanceof GlowstoneFaction && entity.getWorld().getBlockAt(location).getType() == Material.GLOWSTONE) {
result = true;
}
Thanks, Interlagos!Let me spoonfeed you because it's apparent that this simple task cannot be figured out. Check to see if the interacted faction instance of what every your glowstone faction class is. Then set the result to true.
Code:if (factionAt instanceof GlowstoneFaction && entity.getWorld().getBlockAt(location).getType() == Material.GLOWSTONE) { result = true; }
Should work with any para/ihcf cores.
