Skip to content

Commit

Permalink
Merge branch 'feature/runtime-errors' of https://github.com/sovdeeth/…
Browse files Browse the repository at this point in the history
…Skript into feature/runtime-errors
  • Loading branch information
sovdeeth committed Dec 18, 2024
2 parents 736c4bc + f6fbe41 commit 9544c02
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 9544c02

Please sign in to comment.