Skip to content

Commit

Permalink
Merge branch 'dev/feature' into feature/runtime-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Moderocky authored Dec 18, 2024
2 parents ce365f1 + ccd7b28 commit f6fbe41
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ public class ExprTextOf extends SimplePropertyExpression<Object, String> {
static {
String types = "";
if (Skript.classExists("org.bukkit.entity.Display")) {
serializer = BungeeComponentSerializer.get();
if (IS_RUNNING_PAPER)
serializer = BungeeComponentSerializer.get();
types += "displays";
}
// This is because this expression is setup to support future types.
Expand Down

0 comments on commit f6fbe41

Please sign in to comment.