Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Eclipse Workspace Patch 1.0
- #P aCis_gameserver
- Index: java/net/sf/l2j/gameserver/model/actor/status/PlayerStatus.java
- ===================================================================
- --- java/net/sf/l2j/gameserver/model/actor/status/PlayerStatus.java (revision 15)
- +++ java/net/sf/l2j/gameserver/model/actor/status/PlayerStatus.java (working copy)
- @@ -427,10 +427,12 @@
- // Send StatusUpdate with current HP, MP and CP to this Player
- final StatusUpdate su = new StatusUpdate(_actor);
- su.addAttribute(StatusType.CUR_HP, (int) _hp);
- + su.addAttribute(StatusType.MAX_HP, getMaxHp());
- su.addAttribute(StatusType.CUR_MP, (int) _mp);
- + su.addAttribute(StatusType.MAX_MP, getMaxMp());
- su.addAttribute(StatusType.CUR_CP, (int) _cp);
- su.addAttribute(StatusType.MAX_CP, getMaxCp());
- - _actor.sendPacket(su);
- + _actor.broadcastPacket(su, true);
- final boolean needCpUpdate = needCpUpdate();
- final boolean needHpUpdate = needHpUpdate();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement