Update to 1.21.11
This commit is contained in:
@@ -46,14 +46,14 @@ public class PlayerShops extends JavaPlugin {
|
||||
public void onEnable() {
|
||||
instance = this;
|
||||
if(!setupEconomy()) {
|
||||
Bukkit.getLogger().warning("Error loading Vault and economy.\n Disabling plugin");
|
||||
getLogger().warning("Error loading Vault and economy.\n Disabling plugin");
|
||||
this.setEnabled(false);
|
||||
return;
|
||||
}
|
||||
Bukkit.getLogger().info("Hooked into Vault economy provided by " + econ.getName());
|
||||
getLogger().info("Hooked into Vault economy provided by " + econ.getName());
|
||||
reloadConfigs();
|
||||
if(!setupDatabase()) {
|
||||
Bukkit.getLogger().warning("Error setting up database connection.\n Disabling plugin");
|
||||
getLogger().warning("Error setting up database connection.\n Disabling plugin");
|
||||
this.setEnabled(false);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ public class PlayerShop {
|
||||
Placeholder.component("itemname", ShopUtil.trimmedItemNameComponent(getItemStack()))
|
||||
);
|
||||
for (int i = 0; i < 4; i++) {
|
||||
signBlock.line(i, miniMessage.deserialize(signLines.get(i), tagResolver));
|
||||
signBlock.getSide(Side.FRONT).line(i, miniMessage.deserialize(signLines.get(i), tagResolver));
|
||||
}
|
||||
signBlock.update(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user