comment out
This commit is contained in:
parent
cc112aeb29
commit
9bd2f3797e
1 changed files with 2 additions and 1 deletions
|
|
@ -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){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue