pattern variables?
This commit is contained in:
@@ -876,11 +876,11 @@ public class LExecutor{
|
|||||||
if(v.isobj && value != 0){
|
if(v.isobj && value != 0){
|
||||||
String strValue =
|
String strValue =
|
||||||
v.objval == null ? "null" :
|
v.objval == null ? "null" :
|
||||||
v.objval instanceof String ? (String)v.objval :
|
v.objval instanceof String s ? s :
|
||||||
v.objval instanceof MappableContent ? ((MappableContent)v.objval).name :
|
v.objval instanceof MappableContent content ? content.name :
|
||||||
v.objval instanceof Content ? "[content]" :
|
v.objval instanceof Content ? "[content]" :
|
||||||
v.objval instanceof Building ? ((Building)v.objval).block.name :
|
v.objval instanceof Building build ? build.block.name :
|
||||||
v.objval instanceof Unit ? ((Unit)v.objval).type.name :
|
v.objval instanceof Unit unit ? unit.type.name :
|
||||||
"[object]";
|
"[object]";
|
||||||
|
|
||||||
exec.textBuffer.append(strValue);
|
exec.textBuffer.append(strValue);
|
||||||
|
|||||||
Reference in New Issue
Block a user