File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/systems/kscott/randomspawnplus/commands Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,10 +63,10 @@ public void wild(CommandSender sender) {
6363 return ;
6464
6565 }
66- if (plugin .getEconomy () != null && config .getInt ("wild-cost" ) != 0 ) {
66+ if (RandomSpawnPlus .getEconomy () != null && plugin . getConfig () .getInt ("wild-cost" ) != 0 ) {
6767 if (!player .hasPermission ("randomspawnplus.wild.bypasscost" )) {
68- if (plugin .getEconomy ().has (player , config .getInt ("wild-cost" ))) {
69- plugin .getEconomy ().withdrawPlayer (player , config .getInt ("wild-cost" ));
68+ if (RandomSpawnPlus .getEconomy ().has (player , config .getInt ("wild-cost" ))) {
69+ RandomSpawnPlus .getEconomy ().withdrawPlayer (player , config .getInt ("wild-cost" ));
7070 } else {
7171 Chat .msg (player , plugin .getLang ().getString ("wild-no-money" ));
7272 return ;
You can’t perform that action at this time.
0 commit comments