From 0114e0b29032d0887edb544d44ce025a58f2aa9a Mon Sep 17 00:00:00 2001 From: daoge_cmd <3523206925@qq.com> Date: Mon, 28 Oct 2024 14:54:28 +0800 Subject: [PATCH] chore: add getter for world in WorldEvent --- .../java/org/allaymc/api/eventbus/event/world/WorldEvent.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/src/main/java/org/allaymc/api/eventbus/event/world/WorldEvent.java b/api/src/main/java/org/allaymc/api/eventbus/event/world/WorldEvent.java index f800ecaed..4160a5e2a 100644 --- a/api/src/main/java/org/allaymc/api/eventbus/event/world/WorldEvent.java +++ b/api/src/main/java/org/allaymc/api/eventbus/event/world/WorldEvent.java @@ -1,12 +1,14 @@ package org.allaymc.api.eventbus.event.world; import lombok.AllArgsConstructor; +import lombok.Getter; import org.allaymc.api.eventbus.event.Event; import org.allaymc.api.world.World; /** * @author daoge_cmd */ +@Getter @AllArgsConstructor public abstract class WorldEvent extends Event { protected World world;