Merge pull request #1093 from viliml/patch-3
Update BuildCraftEnergy.java
This commit is contained in:
commit
15acae3c54
1 changed files with 4 additions and 1 deletions
|
@ -180,7 +180,6 @@ public class BuildCraftEnergy {
|
|||
}
|
||||
|
||||
// Buckets
|
||||
MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE);
|
||||
|
||||
if (blockOil != null && bucketOilId > 0) {
|
||||
bucketOil = new ItemBucketBuildcraft(bucketOilId, blockOil.blockID);
|
||||
|
@ -195,6 +194,10 @@ public class BuildCraftEnergy {
|
|||
LanguageRegistry.addName(bucketFuel, "Fuel Bucket");
|
||||
FluidContainerRegistry.registerFluidContainer(FluidRegistry.getFluidStack("fuel", FluidContainerRegistry.BUCKET_VOLUME), new ItemStack(bucketFuel), new ItemStack(Item.bucketEmpty));
|
||||
}
|
||||
|
||||
BucketHandler.INSTANCE.buckets.put(blockOil, bucketOil);
|
||||
BucketHandler.INSTANCE.buckets.put(blockFuel, bucketFuel);
|
||||
MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE);
|
||||
|
||||
RefineryRecipes.addRecipe(new FluidStack(fluidOil, 1), new FluidStack(fluidFuel, 1), 12, 1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue