Guest User

Untitled

a guest
Jul 22nd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. public static bool TownSpawn() {
  2. for(int i = 0; i < Main.player.Length; i++){
  3. for(int j = 0; j < Main.player[i].inventory.Length; j++){
  4. if (Main.player[i].inventory[j].name=="Itemname"){
  5. return true;
  6. }
  7. }
  8. }
  9. return false;
  10. }
Add Comment
Please, Sign In to add comment