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

@@ -1,5 +1,9 @@
# Refined Storage Changelog # Refined Storage Changelog
### 1.3.1
- Updated Forge to 2180 (raoulvdberge)
- Fixed Disk Drive not noticing a Storage Disk being shift clicked out of the GUI (raoulvdberge)
### 1.3 ### 1.3
- Port to Minecraft 1.11 (raoulvdberge, way2muchnoise) - Port to Minecraft 1.11 (raoulvdberge, way2muchnoise)
- Removed RF support, use Forge Energy instead (raoulvdberge) - Removed RF support, use Forge Energy instead (raoulvdberge)

View File

@@ -20,7 +20,7 @@ apply plugin: 'maven'
apply plugin: 'maven-publish' apply plugin: 'maven-publish'
apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'net.minecraftforge.gradle.forge'
version = "1.3" version = "1.3.1"
group = "refinedstorage" group = "refinedstorage"
archivesBaseName = "refinedstorage" archivesBaseName = "refinedstorage"
@@ -28,7 +28,7 @@ sourceCompatibility = 1.8
targetCompatibility = 1.8 targetCompatibility = 1.8
minecraft { minecraft {
version = "1.11-13.19.0.2160" version = "1.11-13.19.0.2180"
runDir = "run" runDir = "run"
useDepAts = true useDepAts = true
mappings = "snapshot_20161126" mappings = "snapshot_20161126"

View File

@@ -21,7 +21,7 @@ public final class RS {
} }
public static final String ID = "refinedstorage"; 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"; 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") @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) { public ItemStack extractItem(int slot, int amount, boolean simulate) {
return canExtract ? parent.extractItem(slot, amount, simulate) : ItemStack.EMPTY; 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); this(size, null, validators);
} }
@Override
public void setStackInSlot(int slot, @Nonnull ItemStack stack) {
validateSlotIndex(slot);
stacks.set(slot, stack);
onContentsChanged(slot);
}
@Override @Override
@Nonnull @Nonnull
public ItemStack insertItem(int slot, @Nonnull ItemStack stack, boolean simulate) { public ItemStack insertItem(int slot, @Nonnull ItemStack stack, boolean simulate) {

View File

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