Skip to content

Commit

Permalink
Support for Cauldron Close #151
Browse files Browse the repository at this point in the history
  • Loading branch information
GotoLink committed Jul 20, 2015
1 parent cd097aa commit df7fbea
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 4 deletions.
Binary file added battlegear api/1.7.10-Battlegear-Bin-1.0.8.1.jar
Binary file not shown.
Binary file added battlegear api/1.7.10-Battlegear-Src-1.0.8.1.jar
Binary file not shown.
Binary file added battlegear api/1.7.10-MUD-Bin-1.0.8.1.jar
Binary file not shown.
Binary file added battlegear api/1.7.10-MUD-Src-1.0.8.1.jar
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4e42b6d167ccd211a0f83d71148889a9
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ private boolean processPlaceMethod(MethodNode mn) {
newList.add(new MethodInsnNode(INVOKESTATIC,
UTILITY_CLASS,
"setPlayerCurrentItem", "(L" + entityPlayerClassName + ";L" + itemStackClassName + ";)V"));

// MCPC and Minecraft Forkage already add fixes for this
if (!FMLCommonHandler.instance().getModName().contains("mcpc") && !Launch.blackboard.containsKey("IsForkage")) {
String fml = FMLCommonHandler.instance().getModName();
// MCPC and Minecraft Forkage already add fixes for this, (but not Cauldron ?)
if (fml.contains("cauldron") || (!fml.contains("mcpc") && !Launch.blackboard.containsKey("IsForkage"))) {
int slotIndex = 0;
while (it.hasNext()) {
nextNode = it.next();
Expand Down
2 changes: 1 addition & 1 deletion mod.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
modid=battlegear2
modname=Mine & Blade Battlegear 2 - Bullseye
modversion=1.0.8.0
modversion=1.0.8.1
mcversion=1.7.10
loadingPlugin=mods.battlegear2.coremod.BattlegearLoadingPlugin
containsMod=true
Expand Down

0 comments on commit df7fbea

Please sign in to comment.