Skip to content

Commit af731f9

Browse files
committed
Quick Fix to Announcement Feature
Let's pretend this atrocity never existed
1 parent 53db6db commit af731f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fCraft/System/Server.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ static void ShowRandomAnnouncement( SchedulerTask task ) {
981981
byte messageLine = 100;
982982
if (line.StartsWith("λ")) {
983983
try {
984-
messageLine = byte.Parse(line.Remove(0,1).Take(3).JoinToString());
984+
messageLine = byte.Parse(line.Substring(1, 3));
985985
} catch {}
986986
line = line.Remove(0, 4);
987987
}

0 commit comments

Comments
 (0)