comment out

This commit is contained in:
MidnightTale 2023-04-13 00:18:40 +07:00
commit 9bd2f3797e

View file

@ -52,6 +52,7 @@ public class FoliaFlow extends JavaPlugin implements Listener {
debug("Plugin stopped successfully!"); debug("Plugin stopped successfully!");
} }
/*
@EventHandler @EventHandler
public void onChunkLoad(ChunkLoadEvent event) { public void onChunkLoad(ChunkLoadEvent event) {
Block obsidianBlock = obsidianLocation.getBlock(); Block obsidianBlock = obsidianLocation.getBlock();
@ -65,7 +66,7 @@ public class FoliaFlow extends JavaPlugin implements Listener {
if (event.getBlock().getLocation().equals(obsidianLocation)) { // check if the block change event is for the obsidian block location if (event.getBlock().getLocation().equals(obsidianLocation)) { // check if the block change event is for the obsidian block location
event.setCancelled(true); // cancel the event to prevent the obsidian block from changing event.setCancelled(true); // cancel the event to prevent the obsidian block from changing
} }
} }*/
@EventHandler @EventHandler
public void onFallingBlockToBlock(EntityChangeBlockEvent e){ public void onFallingBlockToBlock(EntityChangeBlockEvent e){