mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-21 04:32:37 +00:00
Fix crash when using compacting drawers with certain mods present.
This commit is contained in:
1 parent
b53a9a79da
commit
6d7b5cabaa
4 files changed
+4
-4
No files matched your search
+1
-1
@@ -17,7 +17,7 @@ buildscript {
|
||||
|
||||
apply plugin: 'forge'
|
||||
|
||||
version = "1.1.1"
|
||||
version = "1.1.2"
|
||||
group= "com.jaquadro.storagedrawers" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
archivesBaseName = "StorageDrawers"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"modid": "StorageDrawers",
|
||||
"name": "Storage Drawers",
|
||||
"description": "Multi-drawer storage blocks for quick storage and retrieval.",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"credits": "By jaquadro",
|
||||
"logoFile": "",
|
||||
"url": "http://www.jaquadro.com/",
|
||||
|
||||
@@ -26,7 +26,7 @@ public class StorageDrawers
|
||||
{
|
||||
public static final String MOD_ID = "StorageDrawers";
|
||||
public static final String MOD_NAME = "Storage Drawers";
|
||||
public static final String MOD_VERSION = "1.1.1";
|
||||
public static final String MOD_VERSION = "1.1.2";
|
||||
static final String SOURCE_PATH = "com.jaquadro.minecraft.storagedrawers.";
|
||||
|
||||
public static final ModBlocks blocks = new ModBlocks();
|
||||
|
||||
@@ -442,7 +442,7 @@ public class TileEntityCompDrawers extends TileEntityDrawersBase implements ISto
|
||||
ItemStack item1 = (ItemStack)item;
|
||||
for (int i = 1, n = list.length; i < n; i++) {
|
||||
Object item2 = list[i];
|
||||
if (item2.getClass() != ItemStack.class)
|
||||
if (item2 == null || item2.getClass() != ItemStack.class)
|
||||
return null;
|
||||
if (!item1.isItemEqual((ItemStack)item2))
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user