Skip to content

Commit

Permalink
fix #11
Browse files Browse the repository at this point in the history
  • Loading branch information
p455w0rd committed Sep 12, 2019
1 parent 050be61 commit 7c09d2c
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 16 deletions.
38 changes: 24 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
bin
run
*.class
.gradle
.settings
.classpath
build
.project
*.launch
# Mobile Tools for Java (J2ME)
.mtj.tmp/
#Stolen form AE2 Repo. :D
# exclude all

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
/*

maven.bat
# Include important folders

# Gradle stuff
!gradle/
!gradlew
!gradlew.bat
!build.gradle
!gradle.properties
!settings.gradle

# Other Files.
!LICENSE
!README.md

# Include git important files
!.gitmodules
!.gitignore

# Include Important Folders
!src/
!libs/
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,9 @@ buildscript {
}
}

plugins {
id "com.wynprice.cursemaven" version "1.1.0"
}

apply from : 'https://github.com/p455w0rd/buildscripts/raw/master/base.gradle'
apply from : 'https://github.com/p455w0rd/buildscripts/raw/master/ae2.gradle'
2 changes: 1 addition & 1 deletion src/main/java/p455w0rd/jee/init/ModGlobals.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public class ModGlobals {

public static final String MODID = "jee";
public static final String VERSION = "1.0.7";
public static final String VERSION = "1.0.8";
public static final String NAME = "Just Enough Energistics";
public static final String DEP_LIST = "required-after:appliedenergistics2@[rv6-stable-6,);required-after:jei@[4.14.3.242,)";

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/p455w0rd/jee/integration/JEI.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public IRecipeTransferError transferRecipe(final ContainerPatternTerm container,
final List<ItemStack> currentList = guiIngredient.getAllIngredients();
ItemStack stack = currentList.isEmpty() ? ItemStack.EMPTY : currentList.get(0);
for (final ItemStack currentStack : currentList) {
if (Platform.isRecipePrioritized(currentStack)) {
if (currentStack != null && Platform.isRecipePrioritized(currentStack)) {
stack = currentStack.copy();
}
}
Expand Down

0 comments on commit 7c09d2c

Please sign in to comment.