Skip to content
This repository was archived by the owner on Apr 18, 2020. It is now read-only.
This repository was archived by the owner on Apr 18, 2020. It is now read-only.

getting class type error when using gamerule script #3

@Nathan22211

Description

@Nathan22211

[LibCD] Error executing tweaker script enchant:gamerule.js: TypeError: class com.martmists.libgamerule.compat.libcd.GameruleTweaker has no such function "addGamerule" in <eval> at line number 2 Is the error I'm talking about. and it's with this in the script, which is from your documentation. var GameruleTweaker = libcd.require("libgamerule.GameruleTweaker"); GameruleTweaker.addGamerule("DoCustomMobSpawning", "boolean", true); GameruleTweaker.addGamerule("CustomRegen", "boolean", true); this is in 20w11a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions