PaperMC/nms-patches/TagRegistry.patch

16 lines
694 B
Diff
Raw Normal View History

--- a/net/minecraft/server/TagRegistry.java
+++ b/net/minecraft/server/TagRegistry.java
2020-06-25 02:00:00 +02:00
@@ -68,6 +68,12 @@
this.itemTags.a((Map) completablefuture1.join());
this.fluidTags.a((Map) completablefuture2.join());
this.entityTags.a((Map) completablefuture3.join());
2019-04-23 04:00:00 +02:00
+ // CraftBukkit start
2019-07-20 01:00:00 +02:00
+ this.blockTags.version++;
+ this.itemTags.version++;
+ this.fluidTags.version++;
+ this.entityTags.version++;
2019-04-23 04:00:00 +02:00
+ // CraftBukkit end
2020-06-25 02:00:00 +02:00
TagsInstance.a(this.blockTags, this.itemTags, this.fluidTags, this.entityTags);
Multimap<String, MinecraftKey> multimap = HashMultimap.create();