Bump to 1.3.1, fixed Disk Drive not noticing a Storage Disk being shift clicked out of the GUI

This commit is contained in:
Raoul Van den Berge
2016-12-04 00:04:04 +01:00
parent 89f41485d3
commit 0b6bae0f60
6 changed files with 22 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ public final class RS {
}
public static final String ID = "refinedstorage";
public static final String VERSION = "1.3";
public static final String VERSION = "1.3.1";
public static final String GUI_FACTORY = "com.raoulvdberge.refinedstorage.gui.config.ModGuiFactory";
@SidedProxy(clientSide = "com.raoulvdberge.refinedstorage.proxy.ProxyClient", serverSide = "com.raoulvdberge.refinedstorage.proxy.ProxyCommon")

View File

@@ -104,5 +104,10 @@ public class ReaderWriterHandlerItems implements IReaderWriterHandler {
public ItemStack extractItem(int slot, int amount, boolean simulate) {
return canExtract ? parent.extractItem(slot, amount, simulate) : ItemStack.EMPTY;
}
@Override
public int getSlotLimit(int slot) {
return parent.getSlotLimit(slot);
}
}
}

View File

@@ -22,6 +22,15 @@ public class ItemHandlerBasic extends ItemStackHandler {
this(size, null, validators);
}
@Override
public void setStackInSlot(int slot, @Nonnull ItemStack stack) {
validateSlotIndex(slot);
stacks.set(slot, stack);
onContentsChanged(slot);
}
@Override
@Nonnull
public ItemStack insertItem(int slot, @Nonnull ItemStack stack, boolean simulate) {

View File

@@ -3,7 +3,7 @@
"modid": "refinedstorage",
"name": "Refined Storage",
"description": "An elegant solution to your hoarding problem",
"version": "1.3",
"version": "1.3.1",
"mcversion": "1.11",
"url": "",
"updateUrl": "",