mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-24 22:04:23 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c0e567f326 | ||
|
|
db6a83b2c0 |
No files matched your search
@@ -38,6 +38,10 @@ public class MTLogger implements ILogger {
|
||||
unprocessed.clear();
|
||||
}
|
||||
|
||||
public void clearPlayers() {
|
||||
players.clear();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void logCommand(String message) {
|
||||
for (ILogger logger : loggers) {
|
||||
|
||||
@@ -192,5 +192,6 @@ public class MineTweakerMod {
|
||||
public void onServerStopped(FMLServerStoppedEvent ev) {
|
||||
MineTweakerImplementationAPI.onServerStop();
|
||||
MineTweakerImplementationAPI.setScriptProvider(scriptsGlobal);
|
||||
MineTweakerImplementationAPI.logger.clearPlayers();
|
||||
}
|
||||
}
|
||||
@@ -80,7 +80,7 @@ public class MCServer extends AbstractServer {
|
||||
}
|
||||
}
|
||||
|
||||
private class MCCommand implements ICommand {
|
||||
private static class MCCommand implements ICommand {
|
||||
|
||||
private final String name;
|
||||
private final String usage;
|
||||
@@ -148,7 +148,7 @@ public class MCServer extends AbstractServer {
|
||||
}
|
||||
}
|
||||
|
||||
private class AddCommandAction implements IUndoableAction {
|
||||
private static class AddCommandAction implements IUndoableAction {
|
||||
|
||||
private final ICommand command;
|
||||
|
||||
|
||||
Reference in new issue
Block a user