Solved HELP

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

novastosha

Well-Known Member
Jan 11, 2019
344
22
18
28
SkUnity Street
Why this is not working

It does work in java but here with Skript and using Skript-mirror

No reason why


set {_wc} to new WorldCreator(arg 2)
{_wc}.type(WorldType.FLAT)
 
This code works fine for me when I test it.
code_language.skript:
import:
    org.bukkit.WorldCreator
    org.bukkit.WorldType

command /createworld:
    trigger:
        set {_world} to new WorldCreator("newworld")
        {_world}.type(WorldType.FLAT)
        {_world}.createWorld()
 
This code works fine for me when I test it.
code_language.skript:
import:
    org.bukkit.WorldCreator
    org.bukkit.WorldType

command /createworld:
    trigger:
        set {_world} to new WorldCreator("newworld")
        {_world}.type(WorldType.FLAT)
        {_world}.createWorld()
Oooh, I still doen't work even i'm making this in java its my main lang so yeh
 
Status
Not open for further replies.