mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 11:19:28 +00:00
Exposed getType(ItemStack) for Butterflies, in line with other species
roots
This commit is contained in:
1 parent
8b1db95bd7
commit
ca72a152b3
1 file changed
+2
-1
@@ -76,7 +76,8 @@ public class ButterflyHelper extends SpeciesRoot implements IButterflyRoot {
|
||||
return getType(stack) != EnumFlutterType.NONE;
|
||||
}
|
||||
|
||||
private EnumFlutterType getType(ItemStack stack) {
|
||||
@Override
|
||||
public EnumFlutterType getType(ItemStack stack) {
|
||||
if(stack == null)
|
||||
return EnumFlutterType.NONE;
|
||||
|
||||
|
||||
Reference in new issue
Block a user