mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-09 09:57:45 +01:00
Style cleanup
Note: Stream is nice to have in some places, just *please* don't abuse it
This commit is contained in:
parent
701b1cb2e5
commit
5adbbd8c45
@ -127,7 +127,7 @@ public class ExtensionManager {
|
||||
|
||||
// periodically cleanup observers
|
||||
MinecraftServer.getSchedulerManager().buildTask(() -> {
|
||||
for(Extension ext : extensionList) {
|
||||
for (Extension ext : extensionList) {
|
||||
ext.cleanupObservers();
|
||||
}
|
||||
}).repeat(1L, TimeUnit.MINUTE).schedule();
|
||||
@ -448,9 +448,9 @@ public class ExtensionManager {
|
||||
LOGGER.trace("Added dependency {} to extension {} classpath", location.toExternalForm(), extension.getName());
|
||||
|
||||
// recurse to add full dependency tree
|
||||
if(!dependency.getSubdependencies().isEmpty()) {
|
||||
if (!dependency.getSubdependencies().isEmpty()) {
|
||||
LOGGER.trace("Dependency {} has subdependencies, adding...", location.toExternalForm());
|
||||
for(ResolvedDependency sub : dependency.getSubdependencies()) {
|
||||
for (ResolvedDependency sub : dependency.getSubdependencies()) {
|
||||
addDependencyFile(sub, extension);
|
||||
}
|
||||
LOGGER.trace("Dependency {} has had its subdependencies added.", location.toExternalForm());
|
||||
|
Loading…
Reference in New Issue
Block a user