Make effects final

This commit is contained in:
TomTom 2024-08-01 09:21:16 +02:00
parent 6639870f5c
commit c94e6be866
5 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@ import org.bukkit.inventory.ItemStack;
import java.util.Map;
public class AddToContainerEffect extends Effect<ItemCollection, ItemCollection> {
public final class AddToContainerEffect extends Effect<ItemCollection, ItemCollection> {
public AddToContainerEffect(Map<Object, Object> configuration) {
super(configuration);

View File

@ -8,7 +8,7 @@ import org.bukkit.Location;
import java.util.Map;
public class BreakEffect extends Effect<Location, ItemCollection> {
public final class BreakEffect extends Effect<Location, ItemCollection> {
public BreakEffect(Map<Object, Object> configuration) {
super(configuration);

View File

@ -15,7 +15,7 @@ import org.bukkit.entity.Player;
import java.util.Map;
public class DamageEntityEffect extends Effect<Entity, ItemCollection> {
public final class DamageEntityEffect extends Effect<Entity, ItemCollection> {
private static final Player dummyPlayer = NMSHandlers.getNmsHandler().dummyPlayer();
public DamageEntityEffect(Map<Object, Object> configuration) {

View File

@ -9,7 +9,7 @@ import org.bukkit.inventory.ItemStack;
import java.util.Map;
public class DropAtMinionEffect extends Effect<ItemCollection, ItemCollection> {
public final class DropAtMinionEffect extends Effect<ItemCollection, ItemCollection> {
public DropAtMinionEffect(Map<Object, Object> configuration) {
super(configuration);

View File

@ -15,7 +15,7 @@ import org.bukkit.inventory.Recipe;
import java.util.Iterator;
import java.util.Map;
public class SmeltEffect extends Effect<ItemCollection, ItemCollection> {
public final class SmeltEffect extends Effect<ItemCollection, ItemCollection> {
private static final Object2ObjectLinkedOpenHashMap<Material, Material> recipes = new Object2ObjectLinkedOpenHashMap<>();
static {