Jump to content

Recommended Posts

Posted

So, the problem is found, but i can't fix it:

world.setLightValue(EnumSkyBlock.Block, message.x , message.y, message.z, Amnesia.instance.getLanternLightValue());

 

Its simply not working if i getting the server world.

If i get client world it works, but we all know i need server world if i want an universal mod.

Can someone help me or explain why is that?

Thanks!

 

Posted

Sorry if you can't understand me, but English is not my main language.

I know i can get the pos and the Item on client. I need to send pakets only to create the light source.

If im create the light client side the server won't have knowlage about the it and others can't see it.

I just can't understand why EnumSkyBlock.Block refuses to change its LightValue server side.

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.