Skip to content

Commit

Permalink
Temporary fix for client crashes
Browse files Browse the repository at this point in the history
- Updated InvMenu
- Added warning for users who don't have InvCrashFix
  • Loading branch information
Shock95 committed Jul 7, 2020
1 parent 109592c commit 45b1b40
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,5 @@ fabric.properties
.idea/**/markdown-navigator/

# End of https://www.gitignore.io/api/phpstorm

todo.txt
3 changes: 1 addition & 2 deletions .poggit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ projects:
- src: poggit/libasynql/libasynql
version: ^3.3.0
- src: muqsit/InvMenu/InvMenu
branch: master
version: 3.1.0
version: ^3.1.1
- src: SOF3/await-generator/await-generator
version: ^2.2.0
- src: JackMD/UpdateNotifier/UpdateNotifier
Expand Down
4 changes: 2 additions & 2 deletions plugin.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: AuctionHouse
main: shock95x\auctionhouse\AuctionHouse
version: 1.1.1
version: 1.1.2
api: 3.0.0
author: Shock95x
softdepend: [EconomyAPI]
softdepend: [EconomyAPI, InvCrashFix]
virions:
- "InvMenu"
- "libasynql"
Expand Down
3 changes: 3 additions & 0 deletions src/shock95x/auctionhouse/AuctionHouse.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ public function onEnable() : void {
$this->getServer()->getPluginManager()->disablePlugin($this);
return;
}
if($this->getServer()->getPluginManager()->getPlugin("InvCrashFix") == null) {
$this->getLogger()->warning("InvCrashFix is required to fix client crashes on 1.16, download it here: https://poggit.pmmp.io/ci/Muqsit/InvCrashFix");
}
$this->getServer()->getCommandMap()->register($this->getDescription()->getName(), new AHCommand($this));
$this->menuHandler = new MenuHandler($this);
}
Expand Down

0 comments on commit 45b1b40

Please sign in to comment.