SPIGOT-7668: Move NONE Registry updater to FieldRename to avoid some class loader issues
By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
@@ -25,6 +25,8 @@ import org.bukkit.potion.PotionType;
|
||||
|
||||
public class FieldRename {
|
||||
|
||||
public static final BiFunction<NamespacedKey, ApiVersion, NamespacedKey> NONE = (namespacedKey, apiVersion) -> namespacedKey;
|
||||
|
||||
@DoNotReroute
|
||||
public static String rename(ApiVersion apiVersion, String owner, String from) {
|
||||
if (owner == null) {
|
||||
|
||||
Reference in New Issue
Block a user