Make GameObjectSpawned Immutable with @Value

This commit is contained in:
Dutta64
2020-06-27 05:47:00 -06:00
committed by Lucwousin
parent 956fc953ea
commit 3c76031534
3 changed files with 6 additions and 10 deletions

View File

@@ -24,22 +24,22 @@
*/
package net.runelite.api.events;
import lombok.Value;
import net.runelite.api.GameObject;
import net.runelite.api.Tile;
import lombok.Data;
/**
* An event where a {@link GameObject} is added to a {@link Tile}.
*/
@Data
@Value
public class GameObjectSpawned implements Event
{
/**
* The affected tile.
*/
private Tile tile;
Tile tile;
/**
* The newly spawned game object.
*/
private GameObject gameObject;
GameObject gameObject;
}