TheGreyGhost / MinecraftByExample

Working sample code for the basic concepts in Minecraft and Forge.
Other
1.24k stars 187 forks source link

ContainerScreens do not open on dedicated server unless player has administration rights (OP) #73

Closed DanVUT closed 3 years ago

DanVUT commented 3 years ago

Hi,

today I ran into weird issue while testing my modification on dedicated server. The GUI screens of my ContainerBlocks in my modification do not open until I set myself as OP. Then they open normally. Could you please tell me what could cause this problem? In singleplayer everything works fine. The core implementation of Containers, Screens and registering them are re-used or highly inspired from your examples.

Thank you.

DanVUT commented 3 years ago

Okay. So the problem was spawn chunk protection. Not in the code.