Advertisement
Guest User

Untitled

a guest
Nov 4th, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. public void possessClone(EntityPlayer player, EntityClone clone) {
  2.  
  3. ((EntityPlayerMP) player).playerNetServerHandler.setPlayerLocation(clone.posX, clone.posY, clone.posZ, clone.rotationYaw, clone.rotationPitch);
  4.  
  5. PacketHandler.sendToAll(new MessagePlayerPos(clone.posX, clone.posY, clone.posZ, clone.rotationYaw, clone.rotationPitch));
  6.  
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement