Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
comment out
Browse files Browse the repository at this point in the history
  • Loading branch information
MidnightTale committed Apr 12, 2023
1 parent cc112ae commit 9bd2f37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/xyz/hynse/foliaflow/FoliaFlow.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public void onDisable() {
debug("Plugin stopped successfully!");
}

/*
@EventHandler
public void onChunkLoad(ChunkLoadEvent event) {
Block obsidianBlock = obsidianLocation.getBlock();
Expand All @@ -65,7 +66,7 @@ public void onBlockChange(org.bukkit.event.block.BlockFromToEvent event) {
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
}
}
}*/

@EventHandler
public void onFallingBlockToBlock(EntityChangeBlockEvent e){
Expand Down

0 comments on commit 9bd2f37

Please sign in to comment.