mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-04 07:17:19 +07:00
Use ## for comments, just in case
This commit is contained in:
@ -341,7 +341,8 @@ public class ContentParser{
|
||||
if(contentTypes.isEmpty()){
|
||||
init();
|
||||
}
|
||||
json = json.replaceAll("#.*?\n","\n");
|
||||
//add comments starting with #
|
||||
json = json.replaceAll("##.*?\n","\n");
|
||||
|
||||
JsonValue value = parser.fromJson(null, json);
|
||||
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.StatUnit;
|
||||
|
||||
public abstract class PowerTurret extends CooledTurret{
|
||||
public class PowerTurret extends CooledTurret{
|
||||
protected @NonNull BulletType shootType;
|
||||
protected float powerUse = 1f;
|
||||
|
||||
|
Reference in New Issue
Block a user