PaperMC/nms-patches/TagRegistry.patch
2020-06-25 10:00:00 +10:00

15 lines
694 B
Diff

--- a/net/minecraft/server/TagRegistry.java
+++ b/net/minecraft/server/TagRegistry.java
@@ -68,6 +68,12 @@
this.itemTags.a((Map) completablefuture1.join());
this.fluidTags.a((Map) completablefuture2.join());
this.entityTags.a((Map) completablefuture3.join());
+ // CraftBukkit start
+ this.blockTags.version++;
+ this.itemTags.version++;
+ this.fluidTags.version++;
+ this.entityTags.version++;
+ // CraftBukkit end
TagsInstance.a(this.blockTags, this.itemTags, this.fluidTags, this.entityTags);
Multimap<String, MinecraftKey> multimap = HashMultimap.create();