* Players cannot put out fire anymore. Fixes #72.
This commit is contained in:
parent
785eef47e9
commit
8fcf661f5b
@ -30,5 +30,8 @@ public class OnBlockBreakEvent implements Listener {
|
|||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (event.getBlock().equals(Material.FIRE)) {
|
||||||
|
event.setCancelled(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user