Fix up some SpotBugs suggestions (#1911)

This is a manual go-through of some bugs SpotBugs pointed out.
This commit is contained in:
Camotoy 2021-02-16 16:25:46 -05:00 committed by GitHub
parent 1f1d94aa81
commit e0bd5a62a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 66 additions and 59 deletions

View file

@ -55,7 +55,7 @@ public class LoopbackUtil {
if (!result.contains("minecraftuwp")) {
Files.write(Paths.get(System.getenv("temp") + "/loopback_minecraft.bat"), loopbackCommand.getBytes(), new OpenOption[0]);
process = Runtime.getRuntime().exec(startScript);
Runtime.getRuntime().exec(startScript);
geyserLogger.info(ChatColor.AQUA + LanguageUtils.getLocaleStringLog("geyser.bootstrap.loopback.added"));
}