fabric-1.18: remove some stale code

This commit is contained in:
Kosma Moczek 2021-12-02 20:59:44 +01:00
parent f03a484b37
commit 1c06de9b0c

View File

@ -255,19 +255,7 @@ public class FabricServer extends DynmapServerInterface {
break; break;
case BLOCK_BREAK: case BLOCK_BREAK:
/*TODO /* Already handled by BlockEvents logic */
pm.registerEvents(new Listener() {
@EventHandler(priority=EventPriority.MONITOR)
public void onBlockBreak(BlockBreakEvent evt) {
if(evt.isCancelled()) return;
Block b = evt.getBlock();
if(b == null) return;
Location l = b.getLocation();
core.listenerManager.processBlockEvent(EventType.BLOCK_BREAK, b.getType().getId(),
BukkitWorld.normalizeWorldName(l.getWorld().getName()), l.getBlockX(), l.getBlockY(), l.getBlockZ());
}
}, DynmapPlugin.this);
*/
break; break;
case SIGN_CHANGE: case SIGN_CHANGE: