mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 00:50:41 +01:00
#696: Respect the NotNull annotation of getChargedProjectiles in CraftMetaCrossbow
This commit is contained in:
parent
1a3363dbe6
commit
cf01fd9d7d
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ public class CraftMetaCrossbow extends CraftMetaItem implements CrossbowMeta {
|
|||
|
||||
@Override
|
||||
public List<ItemStack> getChargedProjectiles() {
|
||||
return (chargedProjectiles == null) ? null : ImmutableList.copyOf(chargedProjectiles);
|
||||
return (chargedProjectiles == null) ? ImmutableList.of() : ImmutableList.copyOf(chargedProjectiles);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue