package us.myles.ViaVersion2.api.remapper; | |
import us.myles.ViaVersion2.api.PacketWrapper; | |
public abstract class PacketHandler implements ValueWriter { | |
public abstract void handle(PacketWrapper wrapper) throws Exception; | |
@Override | |
public void write(PacketWrapper writer, Object inputValue) throws Exception { | |
handle(writer); | |
} | |
} |