mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +01:00
Console warning is overkill for this event
By: md_5 <git@md-5.net>
This commit is contained in:
parent
3b83758aa2
commit
df8a6926fd
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
package org.bukkit.event.player;
|
||||
|
||||
import org.bukkit.Warning;
|
||||
import org.bukkit.entity.Item;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.Cancellable;
|
||||
|
@ -11,6 +12,7 @@ import org.bukkit.event.entity.EntityPickupItemEvent;
|
|||
* @deprecated {@link EntityPickupItemEvent}
|
||||
*/
|
||||
@Deprecated
|
||||
@Warning(false)
|
||||
public class PlayerPickupItemEvent extends PlayerEvent implements Cancellable {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private final Item item;
|
||||
|
|
Loading…
Reference in a new issue