mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-27 23:33:00 +00:00
Clean up generics for Forestry ItemBlocks
This commit is contained in:
1 parent
6a2231f8fb
commit
b69c31ed8a
16 files changed
+64
-75
No files matched your search
@@ -20,7 +20,7 @@ public class BlockRegistryFarming extends BlockRegistry {
|
||||
|
||||
public BlockRegistryFarming() {
|
||||
mushroom = new BlockMushroom();
|
||||
registerBlock(mushroom, new ItemBlockForestry(mushroom), "mushroom");
|
||||
registerBlock(mushroom, new ItemBlockForestry<>(mushroom), "mushroom");
|
||||
|
||||
farm = new BlockFarm();
|
||||
registerBlock(farm, new ItemBlockFarm(farm), "ffarm");
|
||||
|
||||
Reference in new issue
Block a user