DJ1TJOO Posted January 18, 2020 Share Posted January 18, 2020 (edited) 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, 2020 by DJ1TJOO Quote Link to comment Share on other sites More sharing options...
DJ1TJOO Posted January 18, 2020 Author Share Posted January 18, 2020 But how would I get the server side world in a serverproxy? Quote Link to comment Share on other sites More sharing options...
DJ1TJOO Posted January 19, 2020 Author Share Posted January 19, 2020 (edited) I already fixed with packets I did not see that the serverplayer had the getserverworld method Edited January 19, 2020 by DJ1TJOO Zee > see Quote Link to comment Share on other sites More sharing options...
DJ1TJOO Posted January 19, 2020 Author Share Posted January 19, 2020 How can I mark it solved? Quote Link to comment Share on other sites More sharing options...
Ugdhar Posted January 19, 2020 Share Posted January 19, 2020 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.