Fix armor
This commit is contained in:
		@@ -81,7 +81,7 @@ public class SpecialPlayerInventory extends PlayerInventory implements ISpecialP
 | 
				
			|||||||
    public ItemStack[] getContents() {
 | 
					    public ItemStack[] getContents() {
 | 
				
			||||||
        ItemStack[] C = new ItemStack[getSize()];
 | 
					        ItemStack[] C = new ItemStack[getSize()];
 | 
				
			||||||
        System.arraycopy(items, 0, C, 0, items.length);
 | 
					        System.arraycopy(items, 0, C, 0, items.length);
 | 
				
			||||||
        System.arraycopy(items, 0, C, items.length, armor.length);
 | 
					        System.arraycopy(armor, 0, C, items.length, armor.length);
 | 
				
			||||||
        return C;
 | 
					        return C;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -81,7 +81,7 @@ public class SpecialPlayerInventory extends PlayerInventory implements ISpecialP
 | 
				
			|||||||
    public ItemStack[] getContents() {
 | 
					    public ItemStack[] getContents() {
 | 
				
			||||||
        ItemStack[] C = new ItemStack[getSize()];
 | 
					        ItemStack[] C = new ItemStack[getSize()];
 | 
				
			||||||
        System.arraycopy(items, 0, C, 0, items.length);
 | 
					        System.arraycopy(items, 0, C, 0, items.length);
 | 
				
			||||||
        System.arraycopy(items, 0, C, items.length, armor.length);
 | 
					        System.arraycopy(armor, 0, C, items.length, armor.length);
 | 
				
			||||||
        return C;
 | 
					        return C;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -81,7 +81,7 @@ public class SpecialPlayerInventory extends PlayerInventory implements ISpecialP
 | 
				
			|||||||
    public ItemStack[] getContents() {
 | 
					    public ItemStack[] getContents() {
 | 
				
			||||||
        ItemStack[] C = new ItemStack[getSize()];
 | 
					        ItemStack[] C = new ItemStack[getSize()];
 | 
				
			||||||
        System.arraycopy(items, 0, C, 0, items.length);
 | 
					        System.arraycopy(items, 0, C, 0, items.length);
 | 
				
			||||||
        System.arraycopy(items, 0, C, items.length, armor.length);
 | 
					        System.arraycopy(armor, 0, C, items.length, armor.length);
 | 
				
			||||||
        return C;
 | 
					        return C;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -81,7 +81,7 @@ public class SpecialPlayerInventory extends PlayerInventory implements ISpecialP
 | 
				
			|||||||
    public ItemStack[] getContents() {
 | 
					    public ItemStack[] getContents() {
 | 
				
			||||||
        ItemStack[] C = new ItemStack[getSize()];
 | 
					        ItemStack[] C = new ItemStack[getSize()];
 | 
				
			||||||
        System.arraycopy(items, 0, C, 0, items.length);
 | 
					        System.arraycopy(items, 0, C, 0, items.length);
 | 
				
			||||||
        System.arraycopy(items, 0, C, items.length, armor.length);
 | 
					        System.arraycopy(armor, 0, C, items.length, armor.length);
 | 
				
			||||||
        return C;
 | 
					        return C;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -81,7 +81,7 @@ public class SpecialPlayerInventory extends PlayerInventory implements ISpecialP
 | 
				
			|||||||
    public ItemStack[] getContents() {
 | 
					    public ItemStack[] getContents() {
 | 
				
			||||||
        ItemStack[] C = new ItemStack[getSize()];
 | 
					        ItemStack[] C = new ItemStack[getSize()];
 | 
				
			||||||
        System.arraycopy(items, 0, C, 0, items.length);
 | 
					        System.arraycopy(items, 0, C, 0, items.length);
 | 
				
			||||||
        System.arraycopy(items, 0, C, items.length, armor.length);
 | 
					        System.arraycopy(armor, 0, C, items.length, armor.length);
 | 
				
			||||||
        return C;
 | 
					        return C;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -81,7 +81,7 @@ public class SpecialPlayerInventory extends PlayerInventory implements ISpecialP
 | 
				
			|||||||
    public ItemStack[] getContents() {
 | 
					    public ItemStack[] getContents() {
 | 
				
			||||||
        ItemStack[] C = new ItemStack[getSize()];
 | 
					        ItemStack[] C = new ItemStack[getSize()];
 | 
				
			||||||
        System.arraycopy(items, 0, C, 0, items.length);
 | 
					        System.arraycopy(items, 0, C, 0, items.length);
 | 
				
			||||||
        System.arraycopy(items, 0, C, items.length, armor.length);
 | 
					        System.arraycopy(armor, 0, C, items.length, armor.length);
 | 
				
			||||||
        return C;
 | 
					        return C;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -81,7 +81,7 @@ public class SpecialPlayerInventory extends PlayerInventory implements ISpecialP
 | 
				
			|||||||
    public ItemStack[] getContents() {
 | 
					    public ItemStack[] getContents() {
 | 
				
			||||||
        ItemStack[] C = new ItemStack[getSize()];
 | 
					        ItemStack[] C = new ItemStack[getSize()];
 | 
				
			||||||
        System.arraycopy(items, 0, C, 0, items.length);
 | 
					        System.arraycopy(items, 0, C, 0, items.length);
 | 
				
			||||||
        System.arraycopy(items, 0, C, items.length, armor.length);
 | 
					        System.arraycopy(armor, 0, C, items.length, armor.length);
 | 
				
			||||||
        return C;
 | 
					        return C;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -81,7 +81,7 @@ public class SpecialPlayerInventory extends PlayerInventory implements ISpecialP
 | 
				
			|||||||
    public ItemStack[] getContents() {
 | 
					    public ItemStack[] getContents() {
 | 
				
			||||||
        ItemStack[] C = new ItemStack[getSize()];
 | 
					        ItemStack[] C = new ItemStack[getSize()];
 | 
				
			||||||
        System.arraycopy(items, 0, C, 0, items.length);
 | 
					        System.arraycopy(items, 0, C, 0, items.length);
 | 
				
			||||||
        System.arraycopy(items, 0, C, items.length, armor.length);
 | 
					        System.arraycopy(armor, 0, C, items.length, armor.length);
 | 
				
			||||||
        return C;
 | 
					        return C;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -81,7 +81,7 @@ public class SpecialPlayerInventory extends PlayerInventory implements ISpecialP
 | 
				
			|||||||
    public ItemStack[] getContents() {
 | 
					    public ItemStack[] getContents() {
 | 
				
			||||||
        ItemStack[] C = new ItemStack[getSize()];
 | 
					        ItemStack[] C = new ItemStack[getSize()];
 | 
				
			||||||
        System.arraycopy(items, 0, C, 0, items.length);
 | 
					        System.arraycopy(items, 0, C, 0, items.length);
 | 
				
			||||||
        System.arraycopy(items, 0, C, items.length, armor.length);
 | 
					        System.arraycopy(armor, 0, C, items.length, armor.length);
 | 
				
			||||||
        return C;
 | 
					        return C;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -81,7 +81,7 @@ public class SpecialPlayerInventory extends PlayerInventory implements ISpecialP
 | 
				
			|||||||
    public ItemStack[] getContents() {
 | 
					    public ItemStack[] getContents() {
 | 
				
			||||||
        ItemStack[] C = new ItemStack[getSize()];
 | 
					        ItemStack[] C = new ItemStack[getSize()];
 | 
				
			||||||
        System.arraycopy(items, 0, C, 0, items.length);
 | 
					        System.arraycopy(items, 0, C, 0, items.length);
 | 
				
			||||||
        System.arraycopy(items, 0, C, items.length, armor.length);
 | 
					        System.arraycopy(armor, 0, C, items.length, armor.length);
 | 
				
			||||||
        return C;
 | 
					        return C;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -81,7 +81,7 @@ public class SpecialPlayerInventory extends PlayerInventory implements ISpecialP
 | 
				
			|||||||
    public ItemStack[] getContents() {
 | 
					    public ItemStack[] getContents() {
 | 
				
			||||||
        ItemStack[] C = new ItemStack[getSize()];
 | 
					        ItemStack[] C = new ItemStack[getSize()];
 | 
				
			||||||
        System.arraycopy(items, 0, C, 0, items.length);
 | 
					        System.arraycopy(items, 0, C, 0, items.length);
 | 
				
			||||||
        System.arraycopy(items, 0, C, items.length, armor.length);
 | 
					        System.arraycopy(armor, 0, C, items.length, armor.length);
 | 
				
			||||||
        return C;
 | 
					        return C;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -81,7 +81,7 @@ public class SpecialPlayerInventory extends PlayerInventory implements ISpecialP
 | 
				
			|||||||
    public ItemStack[] getContents() {
 | 
					    public ItemStack[] getContents() {
 | 
				
			||||||
        ItemStack[] C = new ItemStack[getSize()];
 | 
					        ItemStack[] C = new ItemStack[getSize()];
 | 
				
			||||||
        System.arraycopy(items, 0, C, 0, items.length);
 | 
					        System.arraycopy(items, 0, C, 0, items.length);
 | 
				
			||||||
        System.arraycopy(items, 0, C, items.length, armor.length);
 | 
					        System.arraycopy(armor, 0, C, items.length, armor.length);
 | 
				
			||||||
        return C;
 | 
					        return C;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -81,7 +81,7 @@ public class SpecialPlayerInventory extends PlayerInventory implements ISpecialP
 | 
				
			|||||||
    public ItemStack[] getContents() {
 | 
					    public ItemStack[] getContents() {
 | 
				
			||||||
        ItemStack[] C = new ItemStack[getSize()];
 | 
					        ItemStack[] C = new ItemStack[getSize()];
 | 
				
			||||||
        System.arraycopy(items, 0, C, 0, items.length);
 | 
					        System.arraycopy(items, 0, C, 0, items.length);
 | 
				
			||||||
        System.arraycopy(items, 0, C, items.length, armor.length);
 | 
					        System.arraycopy(armor, 0, C, items.length, armor.length);
 | 
				
			||||||
        return C;
 | 
					        return C;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -85,7 +85,7 @@ public class SpecialPlayerInventory extends PlayerInventory implements ISpecialP
 | 
				
			|||||||
    public ItemStack[] getContents() {
 | 
					    public ItemStack[] getContents() {
 | 
				
			||||||
        ItemStack[] C = new ItemStack[getSize()];
 | 
					        ItemStack[] C = new ItemStack[getSize()];
 | 
				
			||||||
        System.arraycopy(items, 0, C, 0, items.length);
 | 
					        System.arraycopy(items, 0, C, 0, items.length);
 | 
				
			||||||
        System.arraycopy(items, 0, C, items.length, armor.length);
 | 
					        System.arraycopy(armor, 0, C, items.length, armor.length);
 | 
				
			||||||
        return C;
 | 
					        return C;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -85,7 +85,7 @@ public class SpecialPlayerInventory extends PlayerInventory implements ISpecialP
 | 
				
			|||||||
    public ItemStack[] getContents() {
 | 
					    public ItemStack[] getContents() {
 | 
				
			||||||
        ItemStack[] C = new ItemStack[getSize()];
 | 
					        ItemStack[] C = new ItemStack[getSize()];
 | 
				
			||||||
        System.arraycopy(items, 0, C, 0, items.length);
 | 
					        System.arraycopy(items, 0, C, 0, items.length);
 | 
				
			||||||
        System.arraycopy(items, 0, C, items.length, armor.length);
 | 
					        System.arraycopy(armor, 0, C, items.length, armor.length);
 | 
				
			||||||
        return C;
 | 
					        return C;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user