Made Shop Load on F Reload

This commit is contained in:
Driftay 2019-09-03 07:16:51 -04:00
parent 53a79ade27
commit 88f3cbb97c
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ package com.massivecraft.factions.cmd;
import com.massivecraft.factions.Conf;
import com.massivecraft.factions.P;
import com.massivecraft.factions.shop.ShopConfig;
import com.massivecraft.factions.struct.Permission;
import com.massivecraft.factions.zcore.util.TL;
@ -28,6 +29,7 @@ public class CmdReload extends FCommand {
Conf.save();
P.p.reloadConfig();
P.p.loadLang();
ShopConfig.loadShop();
if (P.p.getConfig().getBoolean("enable-faction-flight")) {

View File

@ -306,7 +306,6 @@ public class FactionsBlockListener implements Listener {
if (event.getBlocks().isEmpty()) {
return;
}
Location targetLoc = event.getBlocks().get(0).getLocation();
Faction otherFaction = Board.getInstance().getFactionAt(new FLocation(targetLoc));