Jump to content

[1.13] [Solved] DimensionType.create(...) returns null (cannot create DimensionType)


Recommended Posts

Posted (edited)

Hi,

 

When I try using the DimensionType.create method, it just returns null. I don't know if that's the case with other enums, but I assume the RuntimeEnumExtender is not doing its job properly.

 

Here's my code :
registerWorld() :

  Reveal hidden contents
 

 

registerWorld() is called from the FMLServerAboutToStartEvent event.

 

Here's my debug log :

  Reveal hidden contents
 
 

 

Am I doing anything wrong?

 

Thanks in advance for your help!

 

Side note: I initially thought that (without the code and the logs) was enough for a github issue bug report, but I was wrong as these are used for final bug reports with logs and details. So I want to apologize for my mistake.

 

Edit : Replaced the log by the debug log and confirmed that this was on the latest version (166)

Edited by ArisuOngaku
Solved

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.