Skip to content

Commit 3c8a33f

Browse files
committed
Better handling of item spawn events
1 parent 5b4b008 commit 3c8a33f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
aeversion=rv3
22
aechannel=beta
3-
aebuild=42-GTNH
3+
aebuild=43-GTNH
44
#KEEP V6 FOR MOD SUPPORT
55
aegroup=appeng
66
aebasename=appliedenergistics2

src/main/java/appeng/parts/automation/PartFormationPlane.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -545,11 +545,12 @@ else if (i instanceof ItemFirework)
545545
if (((EntityItem)result).getEntityItem().getItem() == Item.getItemFromBlock(Blocks.dragon_egg))
546546
{ // Ducttape fix for HEE replacing the Dragon Egg
547547
// HEE does cancel the event but does not mark passed entity as dead
548-
worked = !result.isDead;
548+
worked = true;
549549
}
550550
else {
551+
// e.g. ExU item collector cancels item spawn, but takes the item inside
552+
worked = result.isDead;
551553
result.setDead();
552-
worked = false;
553554
}
554555
}
555556
}

0 commit comments

Comments
 (0)