Skip to content

Commit 0f0ee16

Browse files
2.2.5b. Fix.
1 parent 97c24ee commit 0f0ee16

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

CHANGELOG.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
## Create: Enchantment Industry 2.2.5
2-
3-
Update for Create ***6.0.8***. Require Create: Dragons+ 1.8.4.
1+
## Create: Enchantment Industry 2.2.5b
42

53
### Fix
6-
* Fix Server Crash when Mechanical Grindstone handles fluid in certain situation
7-
* Fix "Comparison method violates its general contract" issue
8-
* Fix JEI broken recipes of applying mechanical grindstone to a drain
4+
* Fix crashing EXP item gives no EXP liquid

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mod_id = create_enchantment_industry
1717
mod_artifact_id = create-enchantment-industry
1818
mod_name = Create: Enchantment Industry
1919
mod_license = LGPL-3.0-or-later
20-
mod_version = 2.2.5
20+
mod_version = 2.2.5b
2121
mod_group_id = plus.dragons.createenchantmentindustry
2222
mod_authors = DragonsPlus
2323
mod_description = Automatic Enchanting with Create.

src/main/java/plus/dragons/createenchantmentindustry/common/kinetics/grindstone/GrindstoneDrainBlockEntity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,11 @@ private void applyRecipe() {
210210
var recipe = grinding.get().value();
211211
var fluidIngredients = recipe.getFluidIngredients();
212212
var fluidResults = recipe.getFluidResults();
213-
boolean applicable = true;
213+
boolean applicable = false;
214214
if (!fluidIngredients.isEmpty())
215215
applicable = drain(fluidIngredients.getFirst());
216216
else if (!fluidResults.isEmpty())
217-
applicable = tank.getPrimaryHandler().fill(fluidResults.getFirst(), FluidAction.SIMULATE) == fluidResults.getFirst().getAmount();
217+
applicable = fill(fluidResults.getFirst());
218218
if (applicable) {
219219
if (fluidResults.getFirst().is(CEIFluids.EXPERIENCE))
220220
advancement.awardStat(CEIStats.GRINDSTONE_EXPERIENCE.get(), fluidResults.getFirst().getAmount());

0 commit comments

Comments
 (0)