Skip to content

Commit

Permalink
Merge pull request #278 from DrHenny/equipmentinterfix
Browse files Browse the repository at this point in the history
Equipment tab inter fixed
  • Loading branch information
tobywisener authored Sep 5, 2023
2 parents 227117a + ee6242d commit 5600d60
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public class BonusManager {
*/
public static void open(Player player) {
player.getPacketSender().sendInterface(INTERFACE_ID);
player.getPacketSender().sendTab(3);
BonusManager.update(player);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ public class TabInterfaceIdListener implements PacketExecutor {

@Override
public void execute(Player player, Packet packet) {
System.err.println("here reading packet..?");
int tabId = packet.readByte();
System.err.println("setting players tab to Id="+tabId);
/** Sets current tab ID mainly used for music **/
player.setCurrentInterfaceTab(tabId);

Expand Down

0 comments on commit 5600d60

Please sign in to comment.