From 2b11658e06199c3909bf9bdccbd07c72630d415b Mon Sep 17 00:00:00 2001 From: TomTom <93038247+AverageGithub@users.noreply.github.com> Date: Thu, 1 Aug 2024 09:21:34 +0200 Subject: [PATCH] Make collectors final --- .../actions/collectors/implementation/BlockCollector.java | 2 +- .../actions/collectors/implementation/EntityCollector.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/artillexstudios/axminions/minions/actions/collectors/implementation/BlockCollector.java b/src/main/java/com/artillexstudios/axminions/minions/actions/collectors/implementation/BlockCollector.java index e2e59e0..4a97a99 100644 --- a/src/main/java/com/artillexstudios/axminions/minions/actions/collectors/implementation/BlockCollector.java +++ b/src/main/java/com/artillexstudios/axminions/minions/actions/collectors/implementation/BlockCollector.java @@ -10,7 +10,7 @@ import redempt.crunch.CompiledExpression; import java.util.List; import java.util.function.Consumer; -public class BlockCollector extends Collector { +public final class BlockCollector extends Collector { private final CollectorShape shape; private final CompiledExpression expression; private final List> filters; diff --git a/src/main/java/com/artillexstudios/axminions/minions/actions/collectors/implementation/EntityCollector.java b/src/main/java/com/artillexstudios/axminions/minions/actions/collectors/implementation/EntityCollector.java index 563dab3..42cfa10 100644 --- a/src/main/java/com/artillexstudios/axminions/minions/actions/collectors/implementation/EntityCollector.java +++ b/src/main/java/com/artillexstudios/axminions/minions/actions/collectors/implementation/EntityCollector.java @@ -11,7 +11,7 @@ import redempt.crunch.CompiledExpression; import java.util.List; import java.util.function.Consumer; -public class EntityCollector extends Collector { +public final class EntityCollector extends Collector { private final CollectorShape shape; private final CompiledExpression expression; private final List> filters;