mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-10-02 00:27:31 +02: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
|
* Fired when an a player reuqets info about an island
|
||||||
* Cancellation has no effect.
|
* Cancellation has no effect.
|
||||||
|
* @since 1.24.0
|
||||||
*/
|
*/
|
||||||
public class IslandInfoEvent extends IslandBaseEvent {
|
public class IslandInfoEvent extends IslandBaseEvent {
|
||||||
|
|
||||||
@ -44,10 +45,11 @@ public class IslandInfoEvent extends IslandBaseEvent {
|
|||||||
/**
|
/**
|
||||||
* @return the gameMode that is for this island
|
* @return the gameMode that is for this island
|
||||||
*/
|
*/
|
||||||
public Addon getGameMode() {
|
public Addon getAddon() {
|
||||||
return addon;
|
return addon;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user