Rename getter to be more generic

This commit is contained in:
tastybento 2023-06-19 09:45:09 -07:00
parent 393a0131f9
commit 372f3f14c6

View File

@ -13,6 +13,7 @@ import world.bentobox.bentobox.database.objects.Island;
/**
* Fired when an a player reuqets info about an island
* Cancellation has no effect.
* @since 1.24.0
*/
public class IslandInfoEvent extends IslandBaseEvent {
@ -44,10 +45,11 @@ public class IslandInfoEvent extends IslandBaseEvent {
/**
* @return the gameMode that is for this island
*/
public Addon getGameMode() {
public Addon getAddon() {
return addon;
}
}