Hi,
I hope that everybody here is in good health.
I met a bug with the drone object.
My config is :
Scriptcraft on Fedora 29.
JDK 1.8.0-232 (wich includes Nashorn)
Spigot-1.15.2
MagicCraft (as recommended in that issue #437)
The error is :
xxx issued server command: /js drone.box(blocks.rainbow[1])
[10:48:03 INFO]: [scriptcraft] Drone build error: java.lang.ClassCastException: Cannot cast java.lang.Double to org.bukkit.block.data.BlockData while processing function wrapperFn() { [native code] }
Simple commands like "/js var drone = new Drone(self)" seems to work fine.
Is is due to something wrong in my configuration ?
Thank's for you help.
Take care.
Hi,
I hope that everybody here is in good health.
I met a bug with the drone object.
My config is :
The error is :
xxx issued server command: /js drone.box(blocks.rainbow[1])
[10:48:03 INFO]: [scriptcraft] Drone build error: java.lang.ClassCastException: Cannot cast java.lang.Double to org.bukkit.block.data.BlockData while processing function wrapperFn() { [native code] }
Simple commands like "/js var drone = new Drone(self)" seems to work fine.
Is is due to something wrong in my configuration ?
Thank's for you help.
Take care.