Added variable to control block syncing

This commit is contained in:
Anuken
2018-02-17 23:39:31 -05:00
parent a79dfe29ef
commit dbd84103cb
6 changed files with 14 additions and 10 deletions

View File

@@ -28,6 +28,8 @@ public class Vars{
public static final boolean android = (Gdx.app.getType() == ApplicationType.Android) || testAndroid;
//shorthand for whether or not this is running on GWT
public static final boolean gwt = (Gdx.app.getType() == ApplicationType.WebGL);
//whether to send block state change events to players
public static final boolean syncBlockState = false;
//how far away from the player blocks can be placed
public static final float placerange = 66;
//respawn time in frames