Skip to content

Commit 2117ea3

Browse files
2.2.1b small fix
1 parent b623608 commit 2117ea3

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

CHANGELOG.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
## Create: Enchantment Industry 2.2.1
2-
3-
### Update
4-
* Player can now take item out of Mechanical Grindstone by empty hand.
5-
* A new type of damage has been introduced...If players put their hands inside a high-speed working Mechanical Grindstone to take item out.
6-
* Add proper dispenser behavior to bucket of Experience
1+
## Create: Enchantment Industry 2.2.1b
72

83
### Fix
9-
* fix Grindstone Drain destroys items when break
10-
11-
### Translation
12-
* Update Russian Translation by Karbin Drem
4+
* fix Grindstone Drain not working

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.1
20+
mod_version = 2.2.1b
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public GrindstoneDrainBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockSt
8282
public ItemStack insertItem(int slot, ItemStack stack, boolean simulate) {
8383
var space = tank.getPrimaryHandler().getSpace();
8484
int a = GrindstoneHelper.getExperienceFromItem(stack), b = GrindstoneHelper.getExperienceFromGrindingRecipe(level, stack);
85-
if (a > space || a == 0 || b > space || b == 0) return stack;
85+
if ((b == 0 && a == 0 ) || a > space || b > space) return stack;
8686
return super.insertItem(slot, stack, simulate);
8787
}
8888

0 commit comments

Comments
 (0)