Fix collision of NextTickListEntry (close #289)
This commit is contained in:
parent
32dc3664a6
commit
a5277c151e
@ -1818,7 +1818,7 @@
|
||||
finally
|
||||
{
|
||||
@@ -1135,19 +2442,18 @@
|
||||
|
||||
{
|
||||
if (itemstack.getItem() == Items.written_book && itemstack1.getItem() == Items.writable_book)
|
||||
{
|
||||
- itemstack1.setTagInfo("author", new NBTTagString(this.playerEntity.getCommandSenderName()));
|
||||
|
11
patches/net/minecraft/world/NextTickListEntry.java.patch
Normal file
11
patches/net/minecraft/world/NextTickListEntry.java.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- ../src-base/minecraft/net/minecraft/world/NextTickListEntry.java
|
||||
+++ ../src-work/minecraft/net/minecraft/world/NextTickListEntry.java
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
public int hashCode()
|
||||
{
|
||||
- return (this.xCoord * 1024 * 1024 + this.zCoord * 1024 + this.yCoord) * 256;
|
||||
+ return (int) (tickEntryID & 0xFFFFFFFF);
|
||||
}
|
||||
|
||||
public NextTickListEntry setScheduledTime(long p_77176_1_)
|
Loading…
Reference in New Issue
Block a user