1.1
This commit is contained in:
parent
b036dabb42
commit
31be04b318
|
@ -3,6 +3,7 @@ package com.io.yutian.enderdragonwar.effect.types;
|
|||
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
|
||||
import com.io.yutian.enderdragonwar.game.Game;
|
||||
import com.io.yutian.enderdragonwar.util.RandomUtil;
|
||||
import com.io.yutian.pixelliveapi.api.effect.GiftEffectMetadata;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
|
@ -17,7 +18,7 @@ import org.bukkit.potion.PotionEffectType;
|
|||
public class LavaPoolEffect extends GameGiftEffect {
|
||||
|
||||
@Override
|
||||
public void apply(Game game) {
|
||||
public void apply(Game game, GiftEffectMetadata metadata) {
|
||||
Player player = game.getPlayer();
|
||||
Location location = player.getLocation();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user