Remove bad warning

This commit is contained in:
Nassim Jahnke 2022-06-10 14:58:25 +02:00
parent d2519b507e
commit a488132e74

View file

@ -2910,8 +2910,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ final @Nullable Object keyValue = value.key();
+ if (keyValue != null && keyValue.toString().equals("PacketPlayInAutoRecipe")) { // add special cast to handle the default for moj-mapped servers that upgrade the config
+ return path.with(path.size() - 1, ServerboundPlaceRecipePacket.class.getSimpleName()).array();
+ } else {
+ LOGGER.warn("Could not convert spigot-mapped packet class name {} because no mappings were found in the jar", keyValue);
+ }
+ return null;
+ }).addAction(path("loggers"), TransformAction.rename("logging"));