Allow clusters to store more than 16k items (#69)

This commit is contained in:
RecursivePineapple authored and GitHub committed 2026-02-01 04:31:14 +00:00
1 parent 704836810c
commit b2a3f79c14
3 files changed
+36 -8

No files matched your search

@@ -130,7 +130,14 @@ public class ToolHelper {
ItemStack drop = blk
.getPickBlock(raytraceFromEntity(world, player, true, 10), world, x, y, z, player);
if (drop == null) drop = new ItemStack(blk, 1, meta);
dropItem(drop, world, x, y, z);
List<ItemStack> drops = hammerdrops.get(player);
if (drops != null) {
drops.add(drop);
} else {
dropItem(drop, world, x, y, z);
}
}
blk.harvestBlock(world, player, x, y, z, localMeta);
}