New stuff 6 (#324)

* Some stuff on weight

Some stuff on weight

* Cleaned some code related to trading and fixed most likely the issue where the player stays busy and cant trade till relog

Cleaned some code related to trading and fixed most likely the issue where the player stays busy and cant trade till relog

* removed a shitload of '== true'

I did a search and replace but I manually checked the changes that were made so there shouldn't be any issue with that.
This commit is contained in:
Gptaqbc authored and Daniel Ginovker committed 2019-12-25 13:01:24 -05:00
1 parent 1c2deaacb6
commit 5f500280b2
38 files changed
+157 -157

No files matched your search

@@ -42,13 +42,13 @@ public class Walking implements PacketType {
if (player.playerStun) {
return;
}
if (player.stopPlayer == true) {
if (player.stopPlayer) {
return;
}
if (player.isFiremaking == true) {
if (player.isFiremaking) {
player.isFiremaking = false;
}
if (player.stopPlayerPacket == true) {
if (player.stopPlayerPacket) {
return;
}
if (player.inTrade) {
@@ -65,10 +65,10 @@ public class Walking implements PacketType {
if (player.closeTutorialInterface == false && player.tutorialProgress == 36) {
player.getDialogueHandler().sendDialogues(3116, player.npcType);
}
if (player.gliderOpen == true) {
if (player.gliderOpen) {
player.gliderOpen = false;
}
if (player.isBanking == true) {
if (player.isBanking) {
player.isBanking = false;
}
if (player.canWalkTutorial == false && player.tutorialProgress < 36) {