fix my stupid ass if typo
This commit is contained in:
parent
95c81e9abf
commit
8ef9a5fc93
1 changed files with 1 additions and 1 deletions
|
@ -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)));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue