RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
SendForceTab.java
1package com.osroyale.net.packet.out;
2
3import com.osroyale.net.codec.ByteModification;
4import com.osroyale.game.world.entity.mob.player.Player;
5import com.osroyale.net.packet.OutgoingPacket;
6
27
28public class SendForceTab extends OutgoingPacket {
29
30 private final int id;
31
32 public SendForceTab(int id) {
33 super(106, 1);
34 this.id = id;
35 }
36
37 @Override
38 public boolean encode(Player player) {
39 builder.writeByte(id, ByteModification.NEG);
40 return true;
41 }
42
43}