Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drone.extend() error #438

Open
Markus-1974 opened this issue Mar 17, 2020 · 3 comments
Open

Drone.extend() error #438

Markus-1974 opened this issue Mar 17, 2020 · 3 comments

Comments

@Markus-1974
Copy link

Hi,

I am using scriptcraft with Minecraft spigot for MC 1.15.2

Since then there is some kind of error in scriptcraft:

[19:03:21 INFO]: [scriptcraft] Enabling scriptcraft v3.4.0-2019-01-20
[19:03:21 WARN]: Warning: Nashorn engine is planned to be removed from a future JDK release
[19:03:27 INFO]: [scriptcraft] Drone using CraftEvil.setTypeIdAndData method
[19:03:27 ERROR]: [scriptcraft] Plugin /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/arrows.js Error: Error executing module /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/arrows.js line #336 : Error executing module drone line #undefined : java.lang.ClassNotFoundException: org.bukkit.craftbukkit.v1_15_R1.util.CraftEvil
undefined

undefined

[19:03:28 ERROR]: [scriptcraft] Plugin /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/chessboard.js Error: Error executing module /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/chessboard.js line #35 : Drone.extend is not a function
***/

Drone.extend('chessboard', function(whiteBlock, blackBlock, width, depth) {
var i;

[19:03:28 ERROR]: [scriptcraft] Plugin /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/spawn.js Error: Error executing module /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/spawn.js line #8 : Drone.extend is not a function
}

Drone.extend(spawn);

[19:03:28 ERROR]: [scriptcraft] Plugin /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/dancefloor.js Error: Error executing module /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/dancefloor.js line #71 : Drone.extend is not a function
}

Drone.extend(dancefloor);

[19:03:28 ERROR]: [scriptcraft] Plugin /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/temple.js Error: Error executing module /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/temple.js line #55 : Drone.extend is not a function
}

Drone.extend(temple);

[19:03:28 ERROR]: [scriptcraft] Plugin /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/redstonewire.js Error: Error executing module /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/redstonewire.js line #26 : Drone.extend is not a function

Drone.extend('wireblock', function(blockType) {
this.chkpt('wireblock')

[19:03:28 ERROR]: [scriptcraft] Plugin /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/hangtorch.js Error: Error executing module /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/hangtorch.js line #66 : Drone.extend is not a function
}

Drone.extend(hangtorch);

[19:03:28 ERROR]: [scriptcraft] Plugin /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/mazegen.js Error: Error executing module /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/mazegen.js line #36 : Drone.extend is not a function
// Example: Try /js maze(5,7)

Drone.extend(function maze(width, length) {
if (typeof width === 'undefined') {

[19:03:28 ERROR]: [scriptcraft] Plugin /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/logo.js Error: Error executing module /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/logo.js line #274 : Drone.extend is not a function
}

Drone.extend(logojs);
Drone.extend(logojscube);

[19:03:28 ERROR]: [scriptcraft] Plugin /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/lcd-clock.js Error: Error executing module /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/lcd-clock.js line #104 : Drone.extend is not a function

Drone.extend(lcdclock);

[19:03:29 ERROR]: [scriptcraft] Plugin /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/spiral_stairs.js Error: Error executing module /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/spiral_stairs.js line #52 : Drone.extend is not a function
}

Drone.extend(spiral_stairs);

[19:03:29 ERROR]: [scriptcraft] Plugin /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/rainbow.js Error: Error executing module /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/rainbow.js line #63 : Drone.extend is not a function
}

Drone.extend(rainbow);

[19:03:29 ERROR]: [scriptcraft] Plugin /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/fort.js Error: Error executing module /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/fort.js line #120 : Drone.extend is not a function
}

Drone.extend(fort);

[19:03:29 ERROR]: [scriptcraft] Plugin /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/castle.js Error: Error executing module /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/castle.js line #79 : Drone.extend is not a function
}

Drone.extend(castle);

[19:03:29 ERROR]: [scriptcraft] Plugin /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/cottage.js Error: Error executing module /usr/local/minecraft/spigotmc/1.15.2/scriptcraft/plugins/drone/contrib/cottage.js line #158 : Drone.extend is not a function
}

Drone.extend(cottage_road);
Drone.extend(cottage);

@jwulf
Copy link
Contributor

jwulf commented Apr 3, 2020

Yes, see this issue: #401.

Drone does not work with 1.15.2 at the moment.

@simon1974smith
Copy link

Hi,
I got exactly the same error using 1.16.5, but it is not clear to me how to resolve it??

@pniederlag
Copy link

@Markus-1974 could you maybe add some information on compatibility of scriptcraft? It would help minecraft newbies (trying to catch up with my little one) assist in pluging in things appropriatly... I have now build development with the #443 applied... on a 1.16.2 spigot server...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants