1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-10-01 08:20:47 +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
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

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 );
}
}