1
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:
Silent 2023-10-16 14:24:23 -07:00
commit 6aca49087a

View File

@ -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);
}