mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
6aca49087a
@ -54,7 +54,7 @@ public class SlimefunItemSpawnEvent extends Event implements Cancellable {
|
||||
*
|
||||
* @return The player responsible if applicable.
|
||||
*/
|
||||
public Optional<Player> getPlayer() {
|
||||
public @Nonnull Optional<Player> getPlayer() {
|
||||
return Optional.ofNullable(player);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user