Browse Source

Add back missing cooldown locale message
Fixes #4361

nossr50 4 years ago
parent
commit
006a7bf277

+ 1 - 0
Changelog.txt

@@ -1,6 +1,7 @@
 Version 2.1.165
     The mcMMO system which tracks player placed blocks has had some major rewrites (thanks t00thpick1)
     mcMMO will now be compatible with changes to world height (1.17 compatibility)
+    Added missing cooldown locale message 'Commands.Database.Cooldown'
 
     NOTES:
     t00thpick1 has taken time to rewrite our block meta tracking system to be more efficient, easier to maintain, and support upcoming features such as world height changes

+ 1 - 0
src/main/resources/locale/locale_en_US.properties

@@ -589,6 +589,7 @@ Commands.Cooldowns.Header=&6--= &amcMMO Ability Cooldowns&6 =--
 Commands.Cooldowns.Row.N=\  &c{0}&f - &6{1} seconds left
 Commands.Cooldowns.Row.Y=\  &b{0}&f - &2Ready!
 Commands.Database.CooldownMS=You must wait {0} milliseconds before using this command again.
+Commands.Database.Cooldown=You must wait {0} seconds before using this command again.
 Commands.Database.Processing=Your previous command is still being processed. Please wait.
 Commands.Disabled=This command is disabled.
 Commands.DoesNotExist= &cPlayer does not exist in the database!

+ 1 - 1
src/test/java/ChunkStoreTest.java

@@ -15,7 +15,7 @@ import java.util.UUID;
 import static org.mockito.Mockito.mock;
 
 /**
- * Could be alot better.  But some tests are better than none!  Tests the major things, still kinda unit-testy.  Verifies that the serialization isn't completely broken.
+ * Could be a lot better.  But some tests are better than none!  Tests the major things, still kinda unit-testy.  Verifies that the serialization isn't completely broken.
  */
 @RunWith(PowerMockRunner.class)
 @PrepareForTest(Bukkit.class)