mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-27 15:33:08 +00:00
Activate Generic Injection (#100)
Co-authored-by: Martin Robertz <[email protected]>
This commit is contained in:
1 parent
e4b5b2c2ff
commit
27c6fe3b2c
97 files changed
+311
-324
No files matched your search
@@ -160,11 +160,11 @@ public class BlockSpecialFlower extends BlockFlower implements ITileEntityProvid
|
||||
}
|
||||
|
||||
@Override
|
||||
public void getSubBlocks(Item par1, CreativeTabs par2CreativeTabs, List par3List) {
|
||||
public void getSubBlocks(Item item, CreativeTabs tab, List<ItemStack> list) {
|
||||
for(String s : BotaniaAPI.subtilesForCreativeMenu) {
|
||||
par3List.add(ItemBlockSpecialFlower.ofType(s));
|
||||
list.add(ItemBlockSpecialFlower.ofType(s));
|
||||
if(BotaniaAPI.miniFlowers.containsKey(s))
|
||||
par3List.add(ItemBlockSpecialFlower.ofType(BotaniaAPI.miniFlowers.get(s)));
|
||||
list.add(ItemBlockSpecialFlower.ofType(BotaniaAPI.miniFlowers.get(s)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user