diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/injector/player/PlayerInjector.java b/ProtocolLib/src/main/java/com/comphenix/protocol/injector/player/PlayerInjector.java
index f4f8d871..239f6b7a 100644
--- a/ProtocolLib/src/main/java/com/comphenix/protocol/injector/player/PlayerInjector.java
+++ b/ProtocolLib/src/main/java/com/comphenix/protocol/injector/player/PlayerInjector.java
@@ -28,7 +28,6 @@ import java.net.SocketAddress;
import net.sf.cglib.proxy.Factory;
import org.bukkit.entity.Player;
-import org.bukkit.scheduler.BukkitWorker;
import com.comphenix.protocol.Packets;
import com.comphenix.protocol.error.ErrorReporter;
diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/metrics/Metrics.java b/ProtocolLib/src/main/java/com/comphenix/protocol/metrics/Metrics.java
index 493bbeaf..3ee7d6e9 100644
--- a/ProtocolLib/src/main/java/com/comphenix/protocol/metrics/Metrics.java
+++ b/ProtocolLib/src/main/java/com/comphenix/protocol/metrics/Metrics.java
@@ -234,7 +234,8 @@ class Metrics {
*
* @return True if statistics measuring is running, otherwise false.
*/
- public boolean start() {
+ @SuppressWarnings("deprecation")
+ public boolean start() {
synchronized (optOutLock) {
// Did we opt out?
if (isOptOut()) {