Remove more redundant code
Dieser Commit ist enthalten in:
Ursprung
17e6e857b5
Commit
d8c6364c4c
@ -85,7 +85,7 @@ public class CraftInventory implements Inventory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setItem(int index, ItemStack item) {
|
public void setItem(int index, ItemStack item) {
|
||||||
getInventory().setItem(index, ((item == null || item.getTypeId() == 0) ? net.minecraft.server.ItemStack.a : CraftItemStack.asNMSCopy(item)));
|
getInventory().setItem(index, CraftItemStack.asNMSCopy(item));
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean contains(int materialId) {
|
public boolean contains(int materialId) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren