forked from 2009Scape/Server
Fixes (#71)
* Fixes Fixed #11 and implemented a beta command for testing (stops the need to go into database and manually change when debugging, very slow, now one command in game, very fast) * Space to continue Does what it says on the tin! * Fixes + more What I've done this update: - Fixed tutorial island's chef giving infinite amounts of buckets and water to players - Fixed fishing without a tool. - Added the wilderness teleport lever to Edgeville south of the bank (as some have requested) - Added some useful tools for editing cache. Enjoy! * Important account register fix It appears I broke this in a previous update fixing other errors, without realisng this causes massive issues when registering accounts. Whoops. Here's the fix.
This commit is contained in:
parent
e1b665dca1
commit
d87e0b0b42
2 changed files with 9 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ public class AccountRegister extends SQLEntryHandler<RegistryDetails> {
|
|||
|
||||
//If the management server's settings register new users with the server's clan chat
|
||||
//I believe if there was no entry there would be errors during the registration, hence a null entry if the setting is off
|
||||
|
||||
statement.setString(7, "2009scape");
|
||||
statement.executeUpdate();
|
||||
SQLManager.close(statement.getConnection());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,6 +44,14 @@ public class MasterChefDialogue extends DialoguePlugin {
|
|||
break;
|
||||
case 20:
|
||||
if (player.getInventory().containsAll(1933,1929)) {
|
||||
Component.setUnclosable(player, interpreter.sendDialogues(npc, FacialExpression.NO_EXPRESSION, "Mix together the flour and water to form a dough."));
|
||||
stage = 1;
|
||||
|
||||
} else if (player.getInventory().containsItem(new Item(2307))) {
|
||||
Component.setUnclosable(player, interpreter.sendDialogues(npc, FacialExpression.NO_EXPRESSION, "You already have some dough, no need", "to make more."));
|
||||
stage = 1;
|
||||
} else {
|
||||
Component.setUnclosable(player, interpreter.sendDialogues(npc, FacialExpression.NO_EXPRESSION, "I see you have lost your pot of flour and bucket of water,", "No worries i will supply you with more."));
|
||||
Component.setUnclosable(player, interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "Mix together the flour and water to form a dough."));
|
||||
stage = 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue