Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. if (bl.getType().toString().contains("STAIR") && bl.getData() < 4) {
  2. Location loc = bl.getLocation();
  3. loc.add(0.5, 0.35/*-1.1*/, 0.5);
  4. loc.setYaw(getYaw(bl));
  5. pl.sendMessage(""+bl.getData());
  6. ArmorStand as = (ArmorStand) pl.getWorld().spawnEntity(loc,
  7. EntityType.ARMOR_STAND);
  8. as.setPassenger(pl);
  9. as.setGravity(false);
  10. as.setCanPickupItems(false);
  11. as.setVisible(false);
  12. as.setMarker(true);
  13. as.setSmall(false);
  14. as.teleport(loc);
  15. aslist.add(as);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement