aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/forestry
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2018-07-06 09:01:28 +1000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2018-07-06 09:01:28 +1000
commit47c4f0a556c11ccd93d5dea2a50e6f34a80577c9 (patch)
tree169d10764a8b56e40a568be66d5a9126062de3ad /src/Java/gtPlusPlus/xmod/forestry
parent5b22905efd7a5c00073862d1cd6db8af68a2c67a (diff)
downloadGT5-Unofficial-47c4f0a556c11ccd93d5dea2a50e6f34a80577c9.tar.gz
GT5-Unofficial-47c4f0a556c11ccd93d5dea2a50e6f34a80577c9.tar.bz2
GT5-Unofficial-47c4f0a556c11ccd93d5dea2a50e6f34a80577c9.zip
% Made it so that the custom Forestry Frames are no longer repairable. (Should prevent some weird magic exploits, fixes #323.)
% Cape list tweak for new Tester.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/forestry')
-rw-r--r--src/Java/gtPlusPlus/xmod/forestry/bees/items/MB_ItemFrame.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Java/gtPlusPlus/xmod/forestry/bees/items/MB_ItemFrame.java b/src/Java/gtPlusPlus/xmod/forestry/bees/items/MB_ItemFrame.java
index f57caff45b..65b6977b8a 100644
--- a/src/Java/gtPlusPlus/xmod/forestry/bees/items/MB_ItemFrame.java
+++ b/src/Java/gtPlusPlus/xmod/forestry/bees/items/MB_ItemFrame.java
@@ -91,8 +91,12 @@ public class MB_ItemFrame extends Item implements IHiveFrame
}
@Override
- public boolean isBookEnchantable(final ItemStack itemstack1, final ItemStack itemstack2)
- {
+ public boolean isBookEnchantable(final ItemStack itemstack1, final ItemStack itemstack2) {
+ return false;
+ }
+
+ @Override
+ public boolean isRepairable() {
return false;
}