public void registerSelfTrigger(Chunk chunk) {
try {
for(BlockState state : chunk.getTileEntities()) {
if(!(state instanceof Sign)) continue;
if(thinkingMechanics.contains(state.getLocation())) continue;
SelfTriggerPingEvent event = new SelfTriggerPingEvent(state.getBlock());
Bukkit.getServer().getPluginManager().callEvent(event);
}
} catch (Throwable e) {
Bukkit.getLogger().warning("A corrupt tile entity was found in the chunk: (world: " + chunk.getWorld().getName() + " x: " + chunk.getX() + " z: " + chunk.getZ() + ") Self-Triggering mechanics may not work here until the issue is resolved.");
if(CraftBookPlugin.inst().getConfiguration().debugMode)