Compare commits
1 Commits
master
...
KnockKnock
| Author | SHA1 | Date | |
|---|---|---|---|
| bc0146663b |
@@ -13,6 +13,7 @@ import mod.sin.lib.Util;
|
|||||||
import mod.sin.wyvern.ItemMod;
|
import mod.sin.wyvern.ItemMod;
|
||||||
import org.gotti.wurmunlimited.modloader.classhooks.HookManager;
|
import org.gotti.wurmunlimited.modloader.classhooks.HookManager;
|
||||||
import org.gotti.wurmunlimited.modsupport.ModSupportDb;
|
import org.gotti.wurmunlimited.modsupport.ModSupportDb;
|
||||||
|
import com.wurmonline.server.items.CreationEntry;
|
||||||
|
|
||||||
import java.sql.Connection;
|
import java.sql.Connection;
|
||||||
import java.sql.PreparedStatement;
|
import java.sql.PreparedStatement;
|
||||||
@@ -65,8 +66,8 @@ public class Schematics {
|
|||||||
public static boolean checkSchematic(Creature performer, int product) {
|
public static boolean checkSchematic(Creature performer, int product) {
|
||||||
if(requiresASchematic(product)) {
|
if(requiresASchematic(product)) {
|
||||||
if(!playerKnowsSchematic(performer, product)) {
|
if(!playerKnowsSchematic(performer, product)) {
|
||||||
performer.getCommunicator().sendNormalServerMessage("You don't know how to make " + ItemTemplateFactory.getInstance().getTemplateName(product) +
|
//performer.getCommunicator().sendNormalServerMessage("You don't know how to make " + ItemTemplateFactory.getInstance().getTemplateName(product) +
|
||||||
". Try finding a schematic for the item.");
|
// ". Try finding a schematic for the item.");
|
||||||
logger.info("Player " + performer.getName() + " does not have schematic for " + ItemTemplateFactory.getInstance().getTemplateName(product));
|
logger.info("Player " + performer.getName() + " does not have schematic for " + ItemTemplateFactory.getInstance().getTemplateName(product));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user