fix my stupid ass if typo

This commit is contained in:
Pyrbu 2023-06-26 17:55:16 +02:00
parent 95c81e9abf
commit 8ef9a5fc93

@ -21,7 +21,7 @@ public class PapiUtil {
// Ugly workaround would be cool if a better solution existed
public static Component set(Player player, Component component) {
if (isSupported()) return component;
if (!isSupported()) return component;
LegacyComponentSerializer serializer = LegacyComponentSerializer.legacySection();
return serializer.deserialize(set(player, serializer.serialize(component)));
}