mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-27 00:45:40 +01:00
Fixed issue #750 about custom model data in Atribute view.
This commit is contained in:
parent
588665f0b7
commit
c59473502f
@ -130,7 +130,7 @@ public abstract class InventoryItem<T extends GeneratedInventory> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ItemStack display(T inv) {
|
public ItemStack display(T inv) {
|
||||||
return display(inv, 0);
|
return display(inv, modelData);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemStack display(T inv, int n) {
|
public ItemStack display(T inv, int n) {
|
||||||
@ -138,7 +138,7 @@ public abstract class InventoryItem<T extends GeneratedInventory> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ItemStack display(T inv, int n, Material specificMaterial) {
|
public ItemStack display(T inv, int n, Material specificMaterial) {
|
||||||
return display(inv, n, specificMaterial, 0);
|
return display(inv, n, specificMaterial, modelData);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemStack display(T inv, int n, Material specificMaterial, int modelData) {
|
public ItemStack display(T inv, int n, Material specificMaterial, int modelData) {
|
||||||
|
Loading…
Reference in New Issue
Block a user