SPIGOT-4166: Fix Tags being corrupted by early access (and not reflecting reloads)
By: md_5 <git@md-5.net>
This commit is contained in:
14
paper-server/nms-patches/TagRegistry.patch
Normal file
14
paper-server/nms-patches/TagRegistry.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- a/net/minecraft/server/TagRegistry.java
|
||||
+++ b/net/minecraft/server/TagRegistry.java
|
||||
@@ -38,6 +38,11 @@
|
||||
TagsBlock.a((Tags) this.a);
|
||||
TagsItem.a((Tags) this.b);
|
||||
TagsFluid.a((Tags) this.c);
|
||||
+ // CraftBukkit start
|
||||
+ this.a.version++;
|
||||
+ this.b.version++;
|
||||
+ this.c.version++;
|
||||
+ // CraftBukkit end
|
||||
}
|
||||
|
||||
public void a(PacketDataSerializer packetdataserializer) {
|
||||
Reference in New Issue
Block a user