smaller lavaCast detector to prevent natural flow detection

This commit is contained in:
2025-09-21 13:31:21 +02:00
parent 74f17e1b6d
commit fdf3b5c73f

View File

@@ -30,7 +30,7 @@ public class LiquidRelatedGriefListener extends ApplianceListener<AntiGrief> {
@EventHandler @EventHandler
public void lavaCast(BlockFormEvent event) { public void lavaCast(BlockFormEvent event) {
if(!List.of(Material.COBBLESTONE, Material.STONE, Material.OBSIDIAN).contains(event.getNewState().getType())) return; if(!event.getNewState().getType().equals(Material.COBBLESTONE)) return;
this.getAppliance().trackPassive( this.getAppliance().trackPassive(
event.getBlock().getChunk(), event.getBlock().getChunk(),
new AntiGrief.GriefIncident( new AntiGrief.GriefIncident(