Posted December 27, 201410 yr The code block under the if statement here: https://github.com/austinv11/PeripheralsPlusPlus/blob/master/src%2Fmain%2Fjava%2Fcom%2Faustinv11%2Fperipheralsplusplus%2Fentities%2FEntityRocket.java#L197 is only run client side and I can't figure out why. Help me Forge forums! You're my only hope.
December 27, 201410 yr Hi What happens if you put your Logger .isRemote statement before the super.onUpdate(), does it get called server side too? -TGG
December 28, 201410 yr Hi DataWatchers are one-way communication only, from Server to Client. From memory, you can't even read them on the Server side. So I suggest you use a member variable instead if you are on the server side. -TGG
December 28, 201410 yr You can read them on the server just fine. You just cannot set data on the client. Ah OK, my bad... -TGG
December 28, 201410 yr Author Ok, I have fixed that. But I just don't understand what's wrong. I just wanna make my rocket move client side and server side D:
December 28, 201410 yr Author https://github.com/austinv11/PeripheralsPlusPlus/blob/master/src%2Fmain%2Fjava%2Fcom%2Faustinv11%2Fperipheralsplusplus%2Fentities%2FEntityRocket.java
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.