mirror of
https://github.com/TotalFreedomMC/OpenInv.git
synced 2024-12-23 00:15:08 +00:00
Fix armor
This commit is contained in:
parent
c4fb5489fa
commit
ad0e55cf4c
15 changed files with 15 additions and 15 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue