Mirror von
https://github.com/St3venAU/ArmorStandTools.git
synchronisiert 2024-12-26 19:42:41 +01:00
v4.4.3
Dieser Commit ist enthalten in:
Ursprung
282cbc30c8
Commit
712d6fc7a7
2
pom.xml
2
pom.xml
@ -5,7 +5,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.gmail.st3venau.plugins</groupId>
|
||||
<artifactId>ArmorStandTools</artifactId>
|
||||
<version>4.4.2</version>
|
||||
<version>4.4.3</version>
|
||||
<name>ArmorStandTools</name>
|
||||
|
||||
<repositories>
|
||||
|
@ -168,7 +168,7 @@ class Utils {
|
||||
}
|
||||
|
||||
static private int getItemCustomModelData(ItemStack is) {
|
||||
if(is == null || is.getItemMeta() == null || is.getItemMeta().getCustomModelData() == null) return 0;
|
||||
if(is == null || is.getItemMeta() == null || !is.getItemMeta().hasCustomModelData()) return 0;
|
||||
return is.getItemMeta().getCustomModelData();
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren