random vorg droppers, max durability repairable
This commit is contained in:
1 parent
b30f04046d
commit
ab8fc8e0a0
3 files changed
+130
-28
No files matched your search
@@ -1644,6 +1644,8 @@ public class ClientMessagePump implements NetMsgHandler {
|
||||
max *= (1 + (durMod * 0.01f));
|
||||
if (dur >= max || dur < 1) {
|
||||
//redundancy message to clear item from window in client
|
||||
if (!DbManager.ItemQueries.SET_DURABILITY(toRepair, dur))
|
||||
return;
|
||||
toRepair.setDurabilityCurrent(max);
|
||||
msg.setupRepairAck(max - dur);
|
||||
dispatch = Dispatch.borrow(player, msg);
|
||||
|
||||
Reference in new issue
Block a user