mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-02-27 09:42:46 +01:00
Rename getter to be more generic
This commit is contained in:
parent
393a0131f9
commit
372f3f14c6
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user