Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

Commit

Permalink
Fix the inventorypets overflow issue
Browse files Browse the repository at this point in the history
  • Loading branch information
robotia committed Mar 5, 2016
1 parent db4b516 commit 9579d64
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions patches/net/minecraft/world/WorldServer.java.patch
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,15 @@
}

public boolean isBlockTickScheduledThisTick(int p_147477_1_, int p_147477_2_, int p_147477_3_, Block p_147477_4_)
@@ -427,7 +611,7 @@
{
Block block1 = this.getBlock(nextticklistentry.xCoord, nextticklistentry.yCoord, nextticklistentry.zCoord);

- if (block1.getMaterial() != Material.air && block1 == nextticklistentry.func_151351_a())
+ if (block1.getMaterial() != Material.air && block1 == nextticklistentry.func_151351_a() && p_147454_6_ != 0)
{
block1.updateTick(this, nextticklistentry.xCoord, nextticklistentry.yCoord, nextticklistentry.zCoord, this.rand);
}
@@ -474,7 +658,8 @@

public void updateEntities()
Expand Down

0 comments on commit 9579d64

Please sign in to comment.