diff --git a/build.gradle b/build.gradle index 0754179..4f55385 100644 --- a/build.gradle +++ b/build.gradle @@ -17,7 +17,7 @@ buildscript { apply plugin: 'forge' -version = "1.7.10-1.0.1.4" +version = "1.7.10-1.0.1.5" group= "com.azanor.baubles" archivesBaseName = "Baubles" diff --git a/src/main/java/baubles/common/Baubles.java b/src/main/java/baubles/common/Baubles.java index c79abbe..87e8fac 100644 --- a/src/main/java/baubles/common/Baubles.java +++ b/src/main/java/baubles/common/Baubles.java @@ -24,7 +24,7 @@ public class Baubles { public static final String MODID = "Baubles"; public static final String MODNAME = "Baubles"; - public static final String VERSION = "1.0.1.4"; + public static final String VERSION = "1.0.1.5"; @SidedProxy(clientSide = "baubles.client.ClientProxy", serverSide = "baubles.common.CommonProxy") public static CommonProxy proxy; diff --git a/src/main/java/baubles/common/container/ContainerPlayerExpanded.java b/src/main/java/baubles/common/container/ContainerPlayerExpanded.java index 4dfbc31..6bf09ea 100644 --- a/src/main/java/baubles/common/container/ContainerPlayerExpanded.java +++ b/src/main/java/baubles/common/container/ContainerPlayerExpanded.java @@ -260,9 +260,9 @@ public class ContainerPlayerExpanded extends Container } private void unequipBauble(ItemStack stack) { - if (stack.getItem() instanceof IBauble) { - ((IBauble)stack.getItem()).onUnequipped(stack, thePlayer); - } +// if (stack.getItem() instanceof IBauble) { +// ((IBauble)stack.getItem()).onUnequipped(stack, thePlayer); +// } } diff --git a/src/main/resources/changelog.txt b/src/main/resources/changelog.txt index d8527eb..695c1c2 100644 --- a/src/main/resources/changelog.txt +++ b/src/main/resources/changelog.txt @@ -1,3 +1,6 @@ +1.0.1.5 +- onUnequip will now only be called once if a bauble is removed via shift-click + 1.0.1.4 - detect NEI so baubles "ring" button is placed correctly (most of the time).