mirror of
https://github.com/songoda/EpicHoppers.git
synced 2024-11-26 20:26:19 +01:00
Code cleanup
Code cleanup
This commit is contained in:
parent
96076eb0e4
commit
58fa0cbe61
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user