mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-06 16:49:07 +00:00
Fix for boots of lightness (#272)
This commit is contained in:
@@ -794,6 +794,7 @@ public class PacketSender {
|
||||
if (player.getOutStream() == null) return this;
|
||||
player.outStream.createFrame(240);
|
||||
DecimalFormat twoDForm = new DecimalFormat("#.##");
|
||||
weight = Math.max(0, weight);
|
||||
player.outStream.writeWord(Integer.valueOf(twoDForm.format(weight)));
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user