mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Fix bungeecord dump logs after 9fb5090
This commit is contained in:
parent
9fb509010a
commit
65e85eb853
3 changed files with 20 additions and 10 deletions
|
@ -174,14 +174,7 @@ public class GeyserBungeePlugin extends Plugin implements GeyserBootstrap {
|
|||
|
||||
@Override
|
||||
public Path getLogsPath() {
|
||||
boolean isBungeeCord = getProxy().getName().equals("BungeeCord");
|
||||
Path getFork;
|
||||
if (isBungeeCord) {
|
||||
getFork = Paths.get("proxy.log.0");
|
||||
} else {
|
||||
getFork = Paths.get("logs/latest.log");
|
||||
}
|
||||
return getFork;
|
||||
return Paths.get(getProxy().getName().equals("BungeeCord") ? "proxy.log.0" : "logs/latest.log");
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue