mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
Remove legacy meta method
This commit is contained in:
1 parent
669568f426
commit
477e350757
1 file changed
+1
-7
@@ -53,13 +53,7 @@ public interface IHornHarvestable {
|
||||
/**
|
||||
* Horn of the Covering, for snow
|
||||
*/
|
||||
COVERING;
|
||||
|
||||
public static EnumHornType getTypeForMeta(int meta) {
|
||||
EnumHornType[] values = EnumHornType.values();
|
||||
return values[Math.min(values.length - 1, meta)];
|
||||
}
|
||||
|
||||
COVERING
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user