diff --git a/pom.xml b/pom.xml
index 49694851..2a5afd98 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,7 +17,7 @@
${project.version}
2.0.4
- 1.15.1-R0.1-SNAPSHOT
+ 1.15.2-R0.1-SNAPSHOT
diff --git a/src/main/java/com/comphenix/protocol/events/SerializedOfflinePlayer.java b/src/main/java/com/comphenix/protocol/events/SerializedOfflinePlayer.java
index 0baa8cb8..5206a7b7 100644
--- a/src/main/java/com/comphenix/protocol/events/SerializedOfflinePlayer.java
+++ b/src/main/java/com/comphenix/protocol/events/SerializedOfflinePlayer.java
@@ -30,10 +30,8 @@ import net.sf.cglib.proxy.Enhancer;
import net.sf.cglib.proxy.MethodInterceptor;
import net.sf.cglib.proxy.MethodProxy;
-import org.bukkit.Bukkit;
-import org.bukkit.Location;
-import org.bukkit.OfflinePlayer;
-import org.bukkit.World;
+import org.bukkit.*;
+import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;
import com.comphenix.protocol.utility.EnhancerFactory;
@@ -109,6 +107,96 @@ class SerializedOfflinePlayer implements OfflinePlayer, Serializable {
return bedSpawnLocation;
}
+ @Override
+ public void incrementStatistic(Statistic statistic) throws IllegalArgumentException {
+
+ }
+
+ @Override
+ public void decrementStatistic(Statistic statistic) throws IllegalArgumentException {
+
+ }
+
+ @Override
+ public void incrementStatistic(Statistic statistic, int i) throws IllegalArgumentException {
+
+ }
+
+ @Override
+ public void decrementStatistic(Statistic statistic, int i) throws IllegalArgumentException {
+
+ }
+
+ @Override
+ public void setStatistic(Statistic statistic, int i) throws IllegalArgumentException {
+
+ }
+
+ @Override
+ public int getStatistic(Statistic statistic) throws IllegalArgumentException {
+ return 0;
+ }
+
+ @Override
+ public void incrementStatistic(Statistic statistic, Material material) throws IllegalArgumentException {
+
+ }
+
+ @Override
+ public void decrementStatistic(Statistic statistic, Material material) throws IllegalArgumentException {
+
+ }
+
+ @Override
+ public int getStatistic(Statistic statistic, Material material) throws IllegalArgumentException {
+ return 0;
+ }
+
+ @Override
+ public void incrementStatistic(Statistic statistic, Material material, int i) throws IllegalArgumentException {
+
+ }
+
+ @Override
+ public void decrementStatistic(Statistic statistic, Material material, int i) throws IllegalArgumentException {
+
+ }
+
+ @Override
+ public void setStatistic(Statistic statistic, Material material, int i) throws IllegalArgumentException {
+
+ }
+
+ @Override
+ public void incrementStatistic(Statistic statistic, EntityType entityType) throws IllegalArgumentException {
+
+ }
+
+ @Override
+ public void decrementStatistic(Statistic statistic, EntityType entityType) throws IllegalArgumentException {
+
+ }
+
+ @Override
+ public int getStatistic(Statistic statistic, EntityType entityType) throws IllegalArgumentException {
+ return 0;
+ }
+
+ @Override
+ public void incrementStatistic(Statistic statistic, EntityType entityType, int i) throws IllegalArgumentException {
+
+ }
+
+ @Override
+ public void decrementStatistic(Statistic statistic, EntityType entityType, int i) {
+
+ }
+
+ @Override
+ public void setStatistic(Statistic statistic, EntityType entityType, int i) {
+
+ }
+
@Override
public long getFirstPlayed() {
return firstPlayed;
diff --git a/src/test/java/com/comphenix/protocol/events/PacketContainerTest.java b/src/test/java/com/comphenix/protocol/events/PacketContainerTest.java
index 28326822..eec4f0fa 100644
--- a/src/test/java/com/comphenix/protocol/events/PacketContainerTest.java
+++ b/src/test/java/com/comphenix/protocol/events/PacketContainerTest.java
@@ -448,7 +448,6 @@ public class PacketContainerTest {
int e = 0;
if (effect.isAmbient()) e |= 1;
if (effect.hasParticles()) e |= 2;
- if (mobEffect.f()) e |= 4;
assertEquals(e, (byte) packet.getBytes().read(2));
}