Added plugin instance directly from config instead of adding it later
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
package com.alttd.fishingevent.fish;
|
||||
|
||||
|
||||
import com.alttd.fishingevent.FishingEvent;
|
||||
import com.alttd.fishingevent.objects.Rarity;
|
||||
import com.alttd.fishingevent.util.Logger;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Particle;
|
||||
@@ -14,7 +16,8 @@ import java.util.Set;
|
||||
|
||||
public class LavaFish extends Fish {
|
||||
|
||||
public LavaFish(float minLength, float maxLength, String fishName, Rarity rarity, ItemStack itemStack, ArrayList<Set<Particle>> particles) {
|
||||
public LavaFish(FishingEvent fishingEvent, Logger logger, float minLength, float maxLength, String fishName, Rarity rarity, ItemStack itemStack, ArrayList<Set<Particle>> particles) {
|
||||
super(fishingEvent, logger);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user