mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 16:49:04 +00:00
Random stuff 3 (#308)
* Make ::update automatically restart server as well
* Add bank area checks back since previously you could open a bank, and as long as you didn't open another interface you could abuse it
* Fix noclip (NEEDS TESTING)
* Revert "Fix noclip (#302)"
This reverts commit 521ae52e4c.
* ::clip command removed, fixed a typo, reordered some stuff, fixed a bug with others cannon
-Removed the clip command from the client;
-Fixed a typo in a dialogue;
-Fixed mud battlestaff nto working as runes (water and earth);
-Fixed a bug with other cannons near you preventing you from setting down a cannon. Somehow your player would glitch himself and make it impossible to spawn a cannon at certain spot;
* Snow improvement
Nothing major
* Fixed Click to teleport command
Fixed Click to teleport command;
* cleaned stuff
Co-authored-by: Daniel Ginovker <dcress01@uoguelph.ca>
This commit is contained in:
@@ -6843,7 +6843,7 @@ public class DialogueHandler {
|
||||
* @author Andrew
|
||||
*/
|
||||
case 3500:
|
||||
if (player.getCannon().needsCannon()) {
|
||||
if (player.lostCannon) {
|
||||
sendNpcChat2("Hello, " + Misc.capitalize(player.playerName) + ".", "I see that you lost your cannon.", player.talkingNpc, "Nulodion");
|
||||
player.nextChat = 3501;
|
||||
} else {
|
||||
@@ -6853,7 +6853,7 @@ public class DialogueHandler {
|
||||
break;
|
||||
|
||||
case 3501:
|
||||
if (player.getCannon().needsCannon()) {
|
||||
if (player.lostCannon) {
|
||||
if (player.getItemAssistant().freeSlots() >= 4) {
|
||||
sendNpcChat1("Here is your cannon, try not to lose it again.", player.talkingNpc, "Nulodion");
|
||||
for (int i = 0; i < 4; i++) {
|
||||
|
||||
Reference in New Issue
Block a user