mirror of
https://github.com/AppleDash/SaneEconomy.git
synced 2024-11-25 19:45:48 +01:00
Remove duplicate key from messages.yml
This commit is contained in:
parent
142b794abf
commit
5bd417a0fc
@ -78,6 +78,7 @@ public class SaneEconomy extends SanePlugin implements ISaneEconomy {
|
|||||||
if (economyManager != null) {
|
if (economyManager != null) {
|
||||||
getLogger().info("Flushing database...");
|
getLogger().info("Flushing database...");
|
||||||
economyManager.getBackend().waitUntilFlushed();
|
economyManager.getBackend().waitUntilFlushed();
|
||||||
|
|
||||||
if (economyManager.getBackend() instanceof EconomyStorageBackendMySQL) {
|
if (economyManager.getBackend() instanceof EconomyStorageBackendMySQL) {
|
||||||
((EconomyStorageBackendMySQL) economyManager.getBackend()).closeConnections();
|
((EconomyStorageBackendMySQL) economyManager.getBackend()).closeConnections();
|
||||||
if (!((EconomyStorageBackendMySQL) economyManager.getBackend()).getConnection().getConnection().isFinished()) {
|
if (!((EconomyStorageBackendMySQL) economyManager.getBackend()).getConnection().getConnection().isFinished()) {
|
||||||
|
@ -12,7 +12,6 @@ messages:
|
|||||||
- message: "That player is not online."
|
- message: "That player is not online."
|
||||||
- message: "You cannot pay yourself."
|
- message: "You cannot pay yourself."
|
||||||
- message: "Usage: {1}"
|
- message: "Usage: {1}"
|
||||||
- message: "That player does not exist."
|
|
||||||
- message: "Your balance is {1}."
|
- message: "Your balance is {1}."
|
||||||
- message: "Balance for {1} is {2}."
|
- message: "Balance for {1} is {2}."
|
||||||
- message: "Top {1} players on page {2}:"
|
- message: "Top {1} players on page {2}:"
|
||||||
|
Loading…
Reference in New Issue
Block a user