Fire rule

This commit is contained in:
Anuken
2020-08-25 12:59:15 -04:00
parent a98dc0b31f
commit 51e4b10437
2 changed files with 3 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ public class Fires{
/** Start a fire on the tile. If there already is a file there, refreshes its lifetime. */
public static void create(Tile tile){
if(net.client() || tile == null) return; //not clientside.
if(net.client() || tile == null || !state.rules.fire) return; //not clientside.
Fire fire = map.get(tile.pos());