From 31be04b318a965364bf92aba9f9ec1eae5d4783d Mon Sep 17 00:00:00 2001 From: YuTian <2953516620@qq.com> Date: Mon, 19 Aug 2024 20:31:53 +0800 Subject: [PATCH] 1.1 --- .../io/yutian/enderdragonwar/effect/types/LavaPoolEffect.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/io/yutian/enderdragonwar/effect/types/LavaPoolEffect.java b/src/main/java/com/io/yutian/enderdragonwar/effect/types/LavaPoolEffect.java index 2f857fe..f590d84 100644 --- a/src/main/java/com/io/yutian/enderdragonwar/effect/types/LavaPoolEffect.java +++ b/src/main/java/com/io/yutian/enderdragonwar/effect/types/LavaPoolEffect.java @@ -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();