#i- what does this even mean?

1 messages · Page 1 of 1 (latest)

jaunty kiln
#

22:39:39.143
KubeJS
Worker-Main-5
Startup script errors:

  1. gamestartup.js#9: Error in 'StartupEvents.registry': TypeError: Cannot find function replaceAll in object cobalt.

for people reading this: here are lines 5 to 9 in my script:


StartupEvents.registry("block",event=>
{
    function generateMaterialBlock(namespace,material,hardness,resistance,hasDifferentTextureTop,noFire,stepSound,tier)
    {
        let materialNs=material.toLowerCase().replaceAll(" ","_");
opaque nightBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

serene elbow
#

use .replace(/ /g, '_') instead

#

rhino doesn't have .replaceAll blobheart