mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 03:25:02 +00:00
Implemented the ability to get the screen size from server
This commit is contained in:
1 parent
03aa9c2e9a
commit
c3b134b5ae
6 files changed
+67
-3
No files matched your search
@@ -316,5 +316,9 @@ public class PacketHandlerPlayer{
|
||||
}
|
||||
}
|
||||
}
|
||||
else if(type == EnumPlayerPacket.ScreenSize){
|
||||
int width = buffer.readInt(), height = buffer.readInt();
|
||||
PlayerDataController.Instance.getPlayerData(player).screenSize.setSize(width,height);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user