Skip to content

Commit 84fe2f3

Browse files
committed
LocationClassInfo - change "Spigot" to "Paper"
1 parent 93c7f16 commit 84fe2f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/skriptlang/skript/bukkit/types/LocationClassInfo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ public boolean canParse(ParseContext context) {
126126

127127
@Override
128128
public String toString(Location loc, int flags) {
129-
String worldPart = loc.getWorld() == null ? "" : " in '" + loc.getWorld().getName() + "'"; // Safety: getWorld is marked as Nullable by spigot
129+
String worldPart = loc.getWorld() == null ? "" : " in '" + loc.getWorld().getName() + "'"; // Safety: getWorld is marked as Nullable by Paper
130130
return "x: " + Skript.toString(loc.getX()) + ", y: " + Skript.toString(loc.getY()) + ", z: " + Skript.toString(loc.getZ()) + ", yaw: " + Skript.toString(loc.getYaw()) + ", pitch: " + Skript.toString(loc.getPitch()) + worldPart;
131131
}
132132

133133
@Override
134134
public String toVariableNameString(Location loc) {
135-
String worldPart = loc.getWorld() == null ? "" : loc.getWorld().getName() + ":"; // Safety: getWorld is marked as Nullable by spigot
135+
String worldPart = loc.getWorld() == null ? "" : loc.getWorld().getName() + ":"; // Safety: getWorld is marked as Nullable by Paper
136136
return worldPart + loc.getX() + "," + loc.getY() + "," + loc.getZ();
137137
}
138138

0 commit comments

Comments
 (0)