Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
- package worldoffailcraft;
- import java.util.*;
- /**
- *
- * @author Aiden
- */
- public class Inventory extends Char {
- ArrayList inv;
- Thread inventory;
- public Inventory() {
- ArrayList inv = new ArrayList();
- Thread inventory = new Thread();
- }
- public void run() {
- while (inventory.isAlive()) {
- if(inv.size() >= 18) {
- inv.remove(18);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement