Where did you actually implement the option "add-logs"?
|
I'm sure I've got everything i need and all in the right place, but it won't show the add-log option..
Code:} else if (objectDef.name.toLowerCase().contains("fire")) { if (objectDef.containsOption(4, "Add-logs") && Bonfire.addLog(player, object, item)) return;Code:case "fire": if(objectDef.containsOption(4, "Add-logs")) Bonfire.addLogs(player, object); break; default:
Is this is even the correct id?Code:if(objectDef.containsOption(4, "Add-logs"))
+ I wouldn't do it this wayCode:if(objectDef.containsOption(4 <----, "Add-logs"))
Code:if (id == idhere && object.getX == xc && object.getY == yc)) { Bonfire.addLogs(player, object);
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |