From 3c940632d60327cd019d8ab6d411c0aeb1750f97 Mon Sep 17 00:00:00 2001 From: kyoshuske <65446070+kyoshuske@users.noreply.github.com> Date: Thu, 26 Dec 2024 21:55:49 +0100 Subject: [PATCH] Fix BlockIgniteEvent (#7252) Update BukkitEventValues.java Co-authored-by: Moderocky --- .../java/ch/njol/skript/classes/data/BukkitEventValues.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ch/njol/skript/classes/data/BukkitEventValues.java b/src/main/java/ch/njol/skript/classes/data/BukkitEventValues.java index 82fca450068..f40aa638d9e 100644 --- a/src/main/java/ch/njol/skript/classes/data/BukkitEventValues.java +++ b/src/main/java/ch/njol/skript/classes/data/BukkitEventValues.java @@ -423,7 +423,7 @@ public Player get(final BlockIgniteEvent e) { @Override @Nullable public Block get(final BlockIgniteEvent e) { - return e.getIgnitingBlock(); + return e.getBlock(); } }, 0); // BlockDispenseEvent