Advertisement
Guest User

pls

a guest
Sep 4th, 2015
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. Block b = p.getTargetBlock(null, 5);
  2. if (!(b.getState() instanceof Sign)) {
  3. p.sendMessage(getPrefix() + "Can't fine a sign!");
  4. return true;
  5. }
  6. Sign s = (Sign)b.getState();
  7. s.setLine(0, "§8[§aBuy§8]");
  8. s.setLine(1, args[0]);
  9. s.setLine(2, "$" + price + "/ea");
  10. s.update();
  11. return true;
  12. }
  13. return false;
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement