1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-02 08:22:22 +00:00

Clear the entity drop list as well as cancelling

Fixes #940
This commit is contained in:
Jonathan Coates
2021-10-24 19:11:21 +01:00
parent ab6b861cd6
commit 544bcaa599

View File

@@ -97,6 +97,7 @@ public final class DropConsumer
if( dropEntity == null || drops.getEntity() != dropEntity ) return;
for( ItemEntity drop : drops.getDrops() ) handleDrops( drop.getItem() );
drops.getDrops().clear();
drops.setCanceled( true );
}
}