mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-27 02:13:52 -07:00
Remove bad warning
This commit is contained in:
@@ -2910,8 +2910,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ final @Nullable Object keyValue = value.key();
|
+ 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
|
+ 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();
|
+ 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;
|
+ return null;
|
||||||
+ }).addAction(path("loggers"), TransformAction.rename("logging"));
|
+ }).addAction(path("loggers"), TransformAction.rename("logging"));
|
||||||
|
Reference in New Issue
Block a user