Advertisement
Guest User

Untitled

a guest
Dec 2nd, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. for (int i = 0; i < Main.npc.Length; i++)
  2. {
  3. if (Main.npc[i].active && Main.npc[i].netID != NPCID.TargetDummy && (Main.npc[i].netID == 35 || Main.npc[i].netID == 127))
  4. {
  5. args.Player.SendErrorMessage("You cannot change the time while Skeletron is active!");
  6. return;
  7. }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement