diff --git a/gradle.properties b/gradle.properties index 28595e6..bed45c4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ yarn_mappings=1.21+build.1 loader_version=0.15.11 # Mod Properties -mod_version=0.2.4 +mod_version=0.2.5 maven_group=dev.keesmand archives_base_name=magnet-command supported_minecraft_version=1.21 diff --git a/src/main/java/dev/keesmand/magnetcommand/mixin/ItemScattererMixin.java b/src/main/java/dev/keesmand/magnetcommand/mixin/ItemScattererMixin.java index 7c0e5a2..18e6bc9 100644 --- a/src/main/java/dev/keesmand/magnetcommand/mixin/ItemScattererMixin.java +++ b/src/main/java/dev/keesmand/magnetcommand/mixin/ItemScattererMixin.java @@ -34,7 +34,6 @@ private static void inject(World world, BlockPos pos, Inventory inventory, Callb InjectStack(world, config.dropLocation == DropMode.Block ? pos : player.getBlockPos(), player, inventory.getStack(i)); - inventory.removeStack(i); } ci.cancel();