-
Notifications
You must be signed in to change notification settings - Fork 13
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
Update ItemMagnet.java #33
Conversation
Ordnungsgemäße Trennung in Server und Client. Sonst geht die Logik verloren, wenn "!world.isRemote" ein Paket an den Server sendet... Es bringt den Server zum Absturz.
Can you explain in english what does this PR pls? |
In the original code, it tries to send a packet to the server (sendToServer) even though the code is processed on the server side (!world.isRemote), which causes a critical error on the server |
|
Danke für den fix. Mach die Prs/issues bitte immer auf englisch wir sind international unterwegs :) Ich frag gerade mal nach einem review. |
Ordnungsgemäße Trennung in Server und Client. Sonst geht die Logik verloren, wenn "!world.isRemote" ein Paket an den Server sendet... Es bringt den Server zum Absturz.
Proper separation for server and client. Otherwise the logic is lost when "!world.isRemote" sends a packet to the server... it crashes the server.