aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/plugin/fixes
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2019-10-10 18:44:32 +0100
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2019-10-10 18:44:32 +0100
commit9c71ae70fc2276b4c56baa26217be2d23dde63b6 (patch)
treea409249e197be63c75b4822038ba04897c59009d /src/Java/gtPlusPlus/plugin/fixes
parentab84b1d95f8c4880891debc594a41f57941de78a (diff)
downloadGT5-Unofficial-9c71ae70fc2276b4c56baa26217be2d23dde63b6.tar.gz
GT5-Unofficial-9c71ae70fc2276b4c56baa26217be2d23dde63b6.tar.bz2
GT5-Unofficial-9c71ae70fc2276b4c56baa26217be2d23dde63b6.zip
+ Added OD tag 'rodBlaze' to blaze rods.
$ Corrected certain multiblocks not counting their casings during construction. Fixes #549. $ Stopped custom MTE's incorrectly handling getDrops(). Fixes #553. $ Stopped GT++ Multis trying to reduce the 'wait' time on themselves when placed or first loaded. Fixes #556.
Diffstat (limited to 'src/Java/gtPlusPlus/plugin/fixes')
-rw-r--r--src/Java/gtPlusPlus/plugin/fixes/vanilla/Core_VanillaFixes.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Java/gtPlusPlus/plugin/fixes/vanilla/Core_VanillaFixes.java b/src/Java/gtPlusPlus/plugin/fixes/vanilla/Core_VanillaFixes.java
index 2c808002cb..2bfd05e5be 100644
--- a/src/Java/gtPlusPlus/plugin/fixes/vanilla/Core_VanillaFixes.java
+++ b/src/Java/gtPlusPlus/plugin/fixes/vanilla/Core_VanillaFixes.java
@@ -61,6 +61,7 @@ public class Core_VanillaFixes implements IPlugin {
}
private boolean fixVanillaOD() {
+ registerToOreDict(ItemUtils.getSimpleStack(Items.blaze_rod), "rodBlaze");
registerToOreDict(ItemUtils.getSimpleStack(Items.nether_wart), "cropNetherWart");
registerToOreDict(ItemUtils.getSimpleStack(Items.reeds), "sugarcane");
registerToOreDict(ItemUtils.getSimpleStack(Items.paper), "paper");
@@ -71,7 +72,7 @@ public class Core_VanillaFixes implements IPlugin {
registerToOreDict(ItemUtils.getSimpleStack(Items.nether_star), "netherStar");
registerToOreDict(ItemUtils.getSimpleStack(Items.leather), "leather");
registerToOreDict(ItemUtils.getSimpleStack(Items.feather), "feather");
- registerToOreDict(ItemUtils.getSimpleStack(Items.egg), "egg");
+ registerToOreDict(ItemUtils.getSimpleStack(Items.egg), "egg");
registerToOreDict(ItemUtils.getSimpleStack(Blocks.end_stone), "endstone");
registerToOreDict(ItemUtils.getSimpleStack(Blocks.vine), "vine");
registerToOreDict(ItemUtils.getSimpleStack(Blocks.cactus), "blockCactus");
@@ -82,7 +83,12 @@ public class Core_VanillaFixes implements IPlugin {
}
private void registerToOreDict(ItemStack aStack, String aString) {
- mInstance.log("Registering "+aStack.getDisplayName()+" to OreDictionary under the tag '"+aString+"'. (Added to Forge in 1.8.9)");
+ if (aStack.getItem() == Items.blaze_rod) {
+ mInstance.log("Registering "+aStack.getDisplayName()+" to OreDictionary under the tag '"+aString+"'.");
+ }
+ else {
+ mInstance.log("Registering "+aStack.getDisplayName()+" to OreDictionary under the tag '"+aString+"'. (Added to Forge in 1.8.9)");
+ }
ItemUtils.addItemToOreDictionary(aStack, aString);
}