mirror of
https://github.com/Artillex-Studios/AxMinions.git
synced 2024-11-29 12:45:18 +01:00
Make effects final
This commit is contained in:
parent
6639870f5c
commit
c94e6be866
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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) {
|
||||
|
@ -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);
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user