Posted January 18, 20205 yr I have a door and when the player clicks on a gui de door opens/closes. In my screen class I use door.toggleDoor(dls.getContainer().getTileEntity().getWorld(), dls.getContainer().getTileEntity().getPos(), true/false); The problem is that dls.getContainer().getTileEntity().getWorld() returns the client world, the client world does change and the door opens, but not on de server side so you can't go through it.Can someone please help?Sorry for my English Edited January 19, 20205 yr by DJ1TJOO
January 19, 20205 yr Author I already fixed with packets I did not see that the serverplayer had the getserverworld method Edited January 19, 20205 yr by DJ1TJOO Zee > see
January 19, 20205 yr 3 hours ago, DJ1TJOO said: How can I mark it solved? I believe if you edit your original post you can change the title to add [SOLVED] or something to it to indicate it's been 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.