diff options
author | md_5 <git@md-5.net> | 2017-07-29 10:27:35 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-07-29 10:27:35 +1000 |
commit | 0ce77bc4b3825b1665b34f7dd6dc4b01a02e9443 (patch) | |
tree | 28b9dfa665b9b544e7a21f535b317094976fee79 /src | |
parent | a4b56a40cf4830115938b1caf9e33c087edefd2d (diff) | |
download | bukkit-0ce77bc4b3825b1665b34f7dd6dc4b01a02e9443.tar bukkit-0ce77bc4b3825b1665b34f7dd6dc4b01a02e9443.tar.gz bukkit-0ce77bc4b3825b1665b34f7dd6dc4b01a02e9443.tar.lz bukkit-0ce77bc4b3825b1665b34f7dd6dc4b01a02e9443.tar.xz bukkit-0ce77bc4b3825b1665b34f7dd6dc4b01a02e9443.zip |
Console warning is overkill for this event
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/event/player/PlayerPickupItemEvent.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/event/player/PlayerPickupItemEvent.java b/src/main/java/org/bukkit/event/player/PlayerPickupItemEvent.java index 29f03f5d..c76f423e 100644 --- a/src/main/java/org/bukkit/event/player/PlayerPickupItemEvent.java +++ b/src/main/java/org/bukkit/event/player/PlayerPickupItemEvent.java @@ -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; |