package org.apollo.game.release.r377;

import org.apollo.game.message.impl.FlashTabInterfaceMessage;
import org.apollo.net.codec.game.DataType;
import org.apollo.net.codec.game.GamePacket;
import org.apollo.net.codec.game.GamePacketBuilder;
import org.apollo.net.release.MessageEncoder;

/**
 * A {@link MessageEncoder} for the {@link FlashTabInterfaceMessage}.
 *
 * @author Major
 */
public final class FlashTabInterfaceMessageEncoder extends MessageEncoder<FlashTabInterfaceMessage> {

	@Override
	public GamePacket encode(FlashTabInterfaceMessage message) {
		GamePacketBuilder builder = new GamePacketBuilder(283);
		builder.put(DataType.BYTE, message.getTab());
		return builder.toGamePacket();
	}

}
@@ -612,10 +612,10 @@
 er(2
-8
 3
+8
 );%0A%09

Fix 377 FlashTabInterfaceMessageEncoder