@ -13,6 +13,7 @@ package engine.net.client.handlers;
@@ -13,6 +13,7 @@ package engine.net.client.handlers;
import engine.exception.MsgSendException ;
import engine.gameManager.ChatManager ;
import engine.gameManager.DbManager ;
import engine.gameManager.ForgeManager ;
import engine.loot.WorkOrder ;
import engine.mbEnums ;
import engine.mbEnums.GameObjectType ;
@ -86,6 +87,11 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
@@ -86,6 +87,11 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
workOrder . suffixToken = msg . sToken ;
workOrder . itemName = msg . name ;
// Validate vendor can roll this item
if ( ForgeManager . validate ( player , workOrder ) = = false )
return true ;
//Create Multiple Item Function.. Fill all empty slots
if ( msg . size > 0 ) {