Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void onUpdate()
- {
- UpdateEvent updateEvent = new UpdateEvent();
- EventManager.call((Event)updateEvent);
- if (this.worldObj.isBlockLoaded(new BlockPos(this.posX, 0.0D, this.posZ)))
- {
- super.onUpdate();
- if (this.isRiding())
- {
- this.sendQueue.addToSendQueue(new C03PacketPlayer.C05PacketPlayerLook(this.rotationYaw, this.rotationPitch, this.onGround));
- this.sendQueue.addToSendQueue(new C0CPacketInput(this.moveStrafing, this.moveForward, this.movementInput.jump, this.movementInput.sneak));
- }
- else
- {
- this.func_175161_p();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement