Skip to content
This repository was archived by the owner on Jul 7, 2020. It is now read-only.

Commit 54c064a

Browse files
authored
v2.2 (#5)
* v2.2 Added dependencies! * v2.2 typo
1 parent ab92ceb commit 54c064a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

plugin.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: ProfileUI
22
author: Infernus101
33
api: [2.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0-ALPHA6, 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9]
44
main: Infernus101\Main
5-
version: 2.1
5+
version: 2.2
6+
depend: [FactionsPro, EconomyAPI, PurePerms]
67
commands:
78
profile:
89
description: Player profile UI!

src/Infernus101/window/ProfileWindow.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function process(): void {
3636
}
3737

3838
if($this->pl->config->get("faction") == 1){
39-
$f = $manager->getPlugin("Sell");
39+
$f = $manager->getPlugin("FactionsPro");
4040
if($f->isInFaction($name)){
4141
$fac = $f->getPlayerFaction($name);
4242
}

0 commit comments

Comments
 (0)