Skip to content

Commit cfe787c

Browse files
Update warning messages.
For lock expiracy and stabled cache support.
1 parent 2e66f0b commit cfe787c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/me/crafter/mc/lockettepro/Config.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ public static void reload(){
9393
cachetime = config.getInt("cache-time-seconds", 0) * 1000;
9494
cacheenabled = (config.getInt("cache-time-seconds", 0) > 0);
9595
if (cacheenabled){
96-
plugin.getLogger().info("You have cache enabled!");
97-
plugin.getLogger().info("This is currently for experimental purpose only!");
96+
plugin.getLogger().info("Cache is enabled! In case of inconsistency, turn off immediately.");
9897
}
9998

10099
String blockhopperminecartstring = config.getString("block-hopper-minecart", "remove");

src/me/crafter/mc/lockettepro/LockettePro.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public void onEnable(){
5959
getServer().getPluginManager().registerEvents(new SignSendListener(), this);
6060
} else {
6161
plugin.getLogger().info("ProtocolLib is not found!");
62-
plugin.getLogger().info("UUID support requires ProtocolLib, or else signs will be ugly!");
62+
plugin.getLogger().info("UUID & expiracy support requires ProtocolLib, or else signs will be ugly!");
6363
}
6464
}
6565
// Metrics

0 commit comments

Comments
 (0)