1.0.1.10 updates

- api package-info.java cleanup (closes #80)
- now you won't lose items in bauble crafting grid when switching back
to vanilla inventory
This commit is contained in:
Azanor committed 2014-12-05 08:05:33 +02:00
1 parent 97ebb51fc9
commit bc52440e62
6 files changed
+10 -5

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ buildscript {
apply plugin: 'forge'
version = "1.7.10-1.0.1.9"
version = "1.7.10-1.0.1.10"
group= "com.azanor.baubles"
archivesBaseName = "Baubles"
+1 -1
View File
@@ -1,4 +1,4 @@
@API(owner = "Baubles", apiVersion = baubles.common.Baubles.VERSION, provides = "Baubles|API")
@API(owner = "Baubles", apiVersion = "1.0.1.10", provides = "Baubles|API")
package baubles.api;
import cpw.mods.fml.common.API;
+1 -1
View File
@@ -26,7 +26,7 @@ public class Baubles {
public static final String MODID = "Baubles";
public static final String MODNAME = "Baubles";
public static final String VERSION = "1.0.1.9";
public static final String VERSION = "1.0.1.10";
@SidedProxy(clientSide = "baubles.client.ClientProxy", serverSide = "baubles.common.CommonProxy")
public static CommonProxy proxy;
@@ -105,7 +105,6 @@ public class ContainerPlayerExpanded extends Container
public void onContainerClosed(EntityPlayer player)
{
super.onContainerClosed(player);
for (int i = 0; i < 4; ++i)
{
ItemStack itemstack = this.craftMatrix.getStackInSlotOnClosing(i);
@@ -119,7 +118,6 @@ public class ContainerPlayerExpanded extends Container
this.craftResult.setInventorySlotContents(0, (ItemStack)null);
if (!player.worldObj.isRemote) {
PlayerHandler.setPlayerBaubles(player, baubles);
// PlayerHandler.savePlayerBaubles(player);
}
}
@@ -372,5 +370,7 @@ public class ContainerPlayerExpanded extends Container
{
return par2Slot.inventory != this.craftResult && super.func_94530_a(par1ItemStack, par2Slot);
}
}
@@ -20,6 +20,7 @@ public class PacketOpenNormalInventory implements IMessage, IMessageHandler<Pack
@Override
public IMessage onMessage(PacketOpenNormalInventory message, MessageContext ctx) {
ctx.getServerHandler().playerEntity.openContainer.onContainerClosed(ctx.getServerHandler().playerEntity);
ctx.getServerHandler().playerEntity.openContainer = ctx.getServerHandler().playerEntity.inventoryContainer;
return null;
}
+4
View File
@@ -1,3 +1,7 @@
1.0.1.10
- api package-info.java cleanup (closes #80)
- now you won't lose items in bauble crafting grid when switching back to vanilla inventory
1.0.1.9
- Update to Forge 10.13.2+
- possible fix for baubles dropping near player spawn location instead of at where he died.