mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-03 03:46:42 +00:00
Basically finish the state system. Just 1 more bug that I'm encountering.
This commit is contained in:
@ -165,6 +165,9 @@ public class PlatformManager {
|
||||
if (platform != null) {
|
||||
return platform;
|
||||
} else {
|
||||
if (preferences.isEmpty()) {
|
||||
return platforms.get(0); // Use the first available if preferences have not been decided yet.
|
||||
}
|
||||
throw new NoCapablePlatformException("No platform was found supporting " + capability.name());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user