Use ## for comments, just in case
This commit is contained in:
@@ -341,7 +341,8 @@ public class ContentParser{
|
|||||||
if(contentTypes.isEmpty()){
|
if(contentTypes.isEmpty()){
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
json = json.replaceAll("#.*?\n","\n");
|
//add comments starting with #
|
||||||
|
json = json.replaceAll("##.*?\n","\n");
|
||||||
|
|
||||||
JsonValue value = parser.fromJson(null, json);
|
JsonValue value = parser.fromJson(null, json);
|
||||||
if(!parsers.containsKey(type)){
|
if(!parsers.containsKey(type)){
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import io.anuke.mindustry.world.Tile;
|
|||||||
import io.anuke.mindustry.world.meta.BlockStat;
|
import io.anuke.mindustry.world.meta.BlockStat;
|
||||||
import io.anuke.mindustry.world.meta.StatUnit;
|
import io.anuke.mindustry.world.meta.StatUnit;
|
||||||
|
|
||||||
public abstract class PowerTurret extends CooledTurret{
|
public class PowerTurret extends CooledTurret{
|
||||||
protected @NonNull BulletType shootType;
|
protected @NonNull BulletType shootType;
|
||||||
protected float powerUse = 1f;
|
protected float powerUse = 1f;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user