don't use NotImplementedException

This commit is contained in:
Gerrygames 2018-10-31 20:28:14 +01:00
parent 3f62730404
commit 973b473100

View File

@ -1,7 +1,6 @@
package us.myles.ViaVersion.api.type.types.version; package us.myles.ViaVersion.api.type.types.version;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
import us.myles.ViaVersion.api.minecraft.chunks.ChunkSection; import us.myles.ViaVersion.api.minecraft.chunks.ChunkSection;
import us.myles.ViaVersion.api.type.Type; import us.myles.ViaVersion.api.type.Type;
@ -38,6 +37,6 @@ public class ChunkSectionType1_8 extends Type<ChunkSection> {
@Override @Override
public void write(ByteBuf buffer, ChunkSection chunkSection) throws Exception { public void write(ByteBuf buffer, ChunkSection chunkSection) throws Exception {
throw new NotImplementedException(); throw new UnsupportedOperationException();
} }
} }