mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Fixed map glitch when race starts, and race XML bug
- Race XML wasn't being sent to clients, this was causing a null ptr exception - Boat location was being set to an invalid lat/lng Tags: #story[1047]
This commit is contained in:
@@ -420,6 +420,7 @@ public class CanvasController {
|
||||
*/
|
||||
private void findMinMaxPoint() {
|
||||
List<Limit> sortedPoints = new ArrayList<>();
|
||||
|
||||
for (Limit limit : ClientPacketParser.getXmlObject().getRaceXML().getCourseLimit()) {
|
||||
sortedPoints.add(limit);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user