mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 13:09:53 +00:00
Make the Scythe AOE harvest ability compatible with EnderCore (#162)
This commit is contained in:
1 parent
736e8c0571
commit
760594f040
4 files changed
+82
-55
No files matched your search
@@ -36,6 +36,7 @@ import mantle.pulsar.control.PulseManager;
|
||||
import tconstruct.achievements.AchievementEvents;
|
||||
import tconstruct.achievements.TAchievements;
|
||||
import tconstruct.api.TConstructAPI;
|
||||
import tconstruct.api.harvesting.AoeCropHarvestHandler;
|
||||
import tconstruct.api.harvesting.CropHarvestHandlers;
|
||||
import tconstruct.api.harvesting.VanillaCropsHarvestHandler;
|
||||
import tconstruct.armor.TinkerArmor;
|
||||
@@ -231,7 +232,10 @@ public class TConstruct {
|
||||
GameRegistry.registerWorldGenerator(new SlimeIslandGen(TinkerWorld.slimePool, 2), 2);
|
||||
|
||||
pulsar.init(event);
|
||||
CropHarvestHandlers.registerCropHarvestHandler(new VanillaCropsHarvestHandler());
|
||||
if (PHConstruct.scytheAoeHarvest) {
|
||||
CropHarvestHandlers.registerCropHarvestHandler(new VanillaCropsHarvestHandler());
|
||||
MinecraftForge.EVENT_BUS.register(new AoeCropHarvestHandler());
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
|
||||
Reference in new issue
Block a user