Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 18:40:05 +01:00
Fixed & updated BlockType.usesDamageValue
Dieser Commit ist enthalten in:
Ursprung
906b6dd832
Commit
dbc3053195
@ -517,7 +517,9 @@ public enum ItemType {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public static boolean usesDamageValue(int id) {
|
public static boolean usesDamageValue(int id) {
|
||||||
return id == BlockID.CLOTH
|
return id == ItemID.COAL
|
||||||
|| id == ItemID.INK_SACK;
|
|| id == ItemID.INK_SACK
|
||||||
|
// for material only, orientation data is not stored in inventory anyway
|
||||||
|
|| BlockType.usesData(id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren