Made Shop Load on F Reload
This commit is contained in:
parent
53a79ade27
commit
88f3cbb97c
@ -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")) {
|
||||
|
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user