mirror of
https://github.com/GTNewHorizons/Avaritia.git
synced 2026-11-27 23:45:44 +00:00
Disable cluster opening for super-critical clusters
This commit is contained in:
1 parent
22cd07924e
commit
44939f9f51
1 file changed
+3
@@ -268,6 +268,9 @@ public class ItemMatterCluster extends Item implements ICosmicRenderItem {
|
||||
|
||||
@Override
|
||||
public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) {
|
||||
// Do nothing for super critical clusters
|
||||
if (getClusterSize(stack) > MAX_CAPACITY) return stack;
|
||||
|
||||
if (!world.isRemote) {
|
||||
List<ItemStack> drops = ToolHelper.collateMatterClusterContents(ItemMatterCluster.getClusterData(stack));
|
||||
|
||||
|
||||
Reference in new issue
Block a user