Advertisement
Guest User

Untitled

a guest
Feb 24th, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. public class SpawnCorpse implements CommandExecutor {
  2.  
  3.  
  4. @Override
  5. public boolean onCommand(CommandSender sender, Command cmd, String labels, String[] args) {
  6. Player p = (CraftPlayer) sender;
  7. NPC npc = null;
  8. npc = new NPC("BOB", p.getLocation());
  9. npc.spawn();
  10. npc.sleep(true);
  11. return true;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement