The Portable Grid now doesn't despawn anymore when dropped in the world, update changelog
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# Refined Storage Changelog
|
||||
|
||||
### 1.5
|
||||
- Port to Minecraft 1.12 (raoulvdberge)
|
||||
- Removed MCMultiPart support (will be re-added as soon as MCMultiPart for MC 1.12 is available) (raoulvdberge)
|
||||
- Removed OpenComputers support (will be re-added as soon as OpenComputers for MC 1.12 is available) (raoulvdberge)
|
||||
- The Portable Grid now doesn't despawn anymore when dropped in the world (raoulvdberge)
|
||||
|
||||
### 1.4.15
|
||||
- Updated Storage Drawers API, fixes crashes (raoulvdberge)
|
||||
|
||||
|
||||
@@ -50,6 +50,11 @@ public class ItemBlockPortableGrid extends ItemBlockEnergyItem {
|
||||
return super.onItemUse(player, worldIn, pos, hand, facing, hitX, hitY, hitZ);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getEntityLifespan(ItemStack stack, World world) {
|
||||
return Integer.MAX_VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldCauseReequipAnimation(ItemStack oldStack, ItemStack newStack, boolean slotChanged) {
|
||||
if (oldStack.getItem() == newStack.getItem()) {
|
||||
|
||||
Reference in New Issue
Block a user