mirror of
https://github.com/GTNewHorizons/Avaritia.git
synced 2026-11-27 23:45:44 +00:00
Allow clusters to store more than 16k items (#69)
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user