mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 13:36:33 +01:00
Fix MobSign constructor
This commit is contained in:
parent
faa2b439ef
commit
d60d3f3345
@ -22,8 +22,8 @@ import de.erethon.commons.misc.Registry;
|
|||||||
import de.erethon.dungeonsxl.api.DungeonsAPI;
|
import de.erethon.dungeonsxl.api.DungeonsAPI;
|
||||||
import de.erethon.dungeonsxl.api.mob.ExternalMobProvider;
|
import de.erethon.dungeonsxl.api.mob.ExternalMobProvider;
|
||||||
import de.erethon.dungeonsxl.api.sign.Windup;
|
import de.erethon.dungeonsxl.api.sign.Windup;
|
||||||
|
import de.erethon.dungeonsxl.api.world.InstanceWorld;
|
||||||
import de.erethon.dungeonsxl.player.DPermission;
|
import de.erethon.dungeonsxl.player.DPermission;
|
||||||
import de.erethon.dungeonsxl.world.DGameWorld;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
@ -44,8 +44,8 @@ public class MobSign extends Windup {
|
|||||||
private Collection<LivingEntity> spawnedMobs = new ArrayList<>();
|
private Collection<LivingEntity> spawnedMobs = new ArrayList<>();
|
||||||
private int initialAmount;
|
private int initialAmount;
|
||||||
|
|
||||||
public MobSign(DungeonsAPI api, Sign sign, String[] lines, DGameWorld gameWorld) {
|
public MobSign(DungeonsAPI api, Sign sign, String[] lines, InstanceWorld instance) {
|
||||||
super(api, sign, lines, gameWorld);
|
super(api, sign, lines, instance);
|
||||||
providers = api.getExternalMobProviderRegistry();
|
providers = api.getExternalMobProviderRegistry();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user