-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transmitters lose data on world load/save on server #9
Comments
oh god wtf, same issue as #7 |
This part I copied create so I don't know where I did wrong |
Strange, because in their case it crashes, in my case, likely because its a server, it just errors and continues to load and I can log in and work with the blocks just fine. |
先解释 #7 再解释 #9 两个问题,最简单的解决办法,加个 null 判断就行了,因为上面两种情况本质上都不需要真正调用 setDirty() if (saveData != null) {
saveData.setDirty();
} 可以抽象成工具方法,代替直接引用 saveData,如 话都说到这了,就再问下 |
When my server loads I get the error
This does not prevent the world from loading and server continuing to run, but the transmitters lose their stored data. In this case it was my fluid transmitter.
I'm running Forge 1.20.1 version 47.1.44 with Create Ender Transmission version 2.0.4.
The text was updated successfully, but these errors were encountered: