Skip to content

Commit 754daee

Browse files
committed
intellij doing intellij things
1 parent 4d2b86d commit 754daee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

waypoints/src/main/java/net/labymod/serverapi/integration/waypoints/packets/WaypointPacket.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public WaypointPacket(@NotNull List<ServerWaypoint> waypoints) {
4646

4747
public WaypointPacket(@NotNull ServerWaypoint... waypoints) {
4848
Objects.requireNonNull(waypoints, "Waypoints cannot be null");
49-
this.waypoints = Collections.unmodifiableList(Collections.singletonList(waypoints));
49+
this.waypoints = Collections.unmodifiableList(Arrays.asList(waypoints));
5050
}
5151

5252
@Override

0 commit comments

Comments
 (0)