mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-31 06:07:34 +01:00
Added + to Custom Model Data
This commit is contained in:
parent
73984a6749
commit
24bd6f0e5b
@ -13,7 +13,7 @@ import net.Indyuce.mmoitems.version.nms.ItemTag;
|
||||
|
||||
public class Custom_Model_Data extends DoubleStat {
|
||||
public Custom_Model_Data() {
|
||||
super(new ItemStack(Material.PAINTING), "Custom Model Data", new String[] { "Your 1.14 model data." }, "custom-model-data", new String[] { "all" });
|
||||
super(new ItemStack(Material.PAINTING), "Custom Model Data", new String[] { "Your 1.14+ model data." }, "custom-model-data", new String[] { "all" });
|
||||
|
||||
if (MMOItems.plugin.getVersion().isBelowOrEqual(1, 13))
|
||||
disable();
|
||||
@ -31,3 +31,4 @@ public class Custom_Model_Data extends DoubleStat {
|
||||
mmoitem.setData(this, new DoubleData(item.getDouble("CustomModelData")));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user