mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-02-25 16:21:57 +01:00
fabric-1.18: remove some stale code
This commit is contained in:
parent
f03a484b37
commit
1c06de9b0c
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user