Fix for boots of lightness (#272)
This commit is contained in:
1 parent
c891e4741e
commit
8ec8a92d20
4 files changed
+13
-25
No files matched your search
@@ -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