privatebooleanisRedstoneAllowed(Blockblock) {BlockLockerPluginplugin=BlockLockerAPIv2.getPlugin();Optional<Protection>protection=plugin.getProtectionFinder().findProtection(block);if(!protection.isPresent()) {// Not protected, so redstone is allowed to change things herereturntrue; }ProfileredstoneProfile...
privatebooleanisRedstoneAllowed(Blockblock) {BlockLockerPluginplugin=BlockLockerAPIv2.getPlugin();Optional<Protection>protection=plugin.getProtectionFinder().findProtection(block);if(!protection.isPresent()) {// Not protected, so redstone is allowed to change things herereturntrue; }ProfileredstoneProfile...