Code cleanup

Code cleanup
This commit is contained in:
Brianna 2020-04-18 09:22:57 -04:00
parent 96076eb0e4
commit 58fa0cbe61
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ public class HopTask extends BukkitRunnable {
// Cycle through modules. // Cycle through modules.
hopper.getLevel().getRegisteredModules().stream() hopper.getLevel().getRegisteredModules().stream()
.filter(module -> module != null) .filter(Objects::nonNull)
.forEach(module -> { .forEach(module -> {
// Run Module // Run Module
module.run(hopper, hopperCache); module.run(hopper, hopperCache);