|
|
@ -441,7 +441,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { |
|
|
|
|
|
|
|
|
|
|
|
// Process Request
|
|
|
|
// Process Request
|
|
|
|
|
|
|
|
|
|
|
|
mbEnums.ProductionActionType actionType = mbEnums.ProductionActionType.values()[msg.getActionType()]; |
|
|
|
mbEnums.ProductionActionType actionType = mbEnums.ProductionActionType.values()[msg.actionType.ordinal()]; |
|
|
|
|
|
|
|
|
|
|
|
switch (actionType) { |
|
|
|
switch (actionType) { |
|
|
|
|
|
|
|
|
|
|
@ -465,7 +465,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { |
|
|
|
break; |
|
|
|
break; |
|
|
|
case RECYCLE: |
|
|
|
case RECYCLE: |
|
|
|
recycleItem(msg.getItems(), vendorNPC, origin); |
|
|
|
recycleItem(msg.getItems(), vendorNPC, origin); |
|
|
|
msg.setActionType(7); |
|
|
|
msg.actionType = mbEnums.ProductionActionType.TAKE; |
|
|
|
dispatch = Dispatch.borrow(player, msg); |
|
|
|
dispatch = Dispatch.borrow(player, msg); |
|
|
|
DispatchMessage.dispatchMsgDispatch(dispatch, mbEnums.DispatchChannel.SECONDARY); |
|
|
|
DispatchMessage.dispatchMsgDispatch(dispatch, mbEnums.DispatchChannel.SECONDARY); |
|
|
|
break; |
|
|
|
break; |
|
|
|