Added min-game-version 105 enforcement
This commit is contained in:
@@ -15,6 +15,7 @@ public enum LAccess{
|
||||
powerNetIn,
|
||||
powerNetOut,
|
||||
health,
|
||||
maxHealth,
|
||||
heat,
|
||||
efficiency,
|
||||
rotation,
|
||||
|
||||
@@ -493,7 +493,9 @@ public class LExecutor{
|
||||
//this should avoid any garbage allocation
|
||||
Var v = exec.vars[value];
|
||||
if(v.isobj && value != 0){
|
||||
String strValue = v.objval instanceof String ? (String)v.objval : v.objval == null ? "null" :
|
||||
String strValue =
|
||||
v.objval == null ? "null" :
|
||||
v.objval instanceof String ? (String)v.objval :
|
||||
v.objval instanceof Content ? "[content]" :
|
||||
v.objval instanceof Building ? "[building]" :
|
||||
v.objval instanceof Unit ? "[unit]" :
|
||||
|
||||
Reference in New Issue
Block a user