Commit Graph

983 Commits

Author SHA1 Message Date
Olof Larsson
66de46f0c9 Break out the isFloating logic in the GsonEqualsChecker 2014-01-30 02:43:33 +01:00
Olof Larsson
010d91a75d Create a default MPlugin onEnable override 2014-01-05 10:57:26 +01:00
Olof Larsson
59ad607b14 Remove "Smart" Quotes per default 2013-12-17 12:53:30 +01:00
Olof Larsson
8d1ec9f51d Some useful predictates 2013-12-17 02:59:57 +01:00
Olof Larsson
dd4fd924f1 This is MCore 7.0.1 2013-12-11 17:21:22 +01:00
Olof Larsson
e54b708936 Pager fixes and removed library download utilities. No need for them anymore. 2013-12-11 17:16:06 +01:00
Olof Larsson
579919f75f A Pager System 2013-12-07 13:44:47 +01:00
Olof Larsson
bd98a9f87a This is 7.0.0 2013-12-07 11:53:16 +01:00
Olof Larsson
edea6807c6 Handle null cases in the MoneyMixinAbstract 2013-12-06 15:34:10 +01:00
Olof Larsson
8465250061 Decided I dislike var-args and money transactions should have an optional freetext message. 2013-12-06 15:03:58 +01:00
Olof Larsson
813661877d An attempt to use the latest version protocol lib. Warning it seems protocol lib for 1.7.2 still has bugs. 2013-12-05 13:27:55 +01:00
Olof Larsson
e6d98e4e15 Untested version for 1.7.2 2013-12-04 12:16:12 +01:00
Olof Larsson
8e0362172d Money param reorder 2013-12-03 20:20:14 +01:00
Olof Larsson
3749074463 Removing universe support in the Money mixin. The feature is to advanced and was never fully supported through Vault anyways. 2013-12-03 12:59:18 +01:00
Olof Larsson
84a19883ff This is 6.9.1 2013-11-13 10:49:12 +01:00
Olof Larsson
bb259374e4 Added comments and fixed indentation for ModdedEnumTypeAdapter. 2013-11-13 10:48:07 +01:00
Olof Larsson
c746c305a8 Merge pull request #62 from OniBait/master
Add gson type factory adapter to handled modded enums
2013-11-13 01:28:25 -08:00
OniBait
ee2c51f60a Add gson type factory adapter to handled modded enums 2013-11-13 01:40:01 -06:00
Olof Larsson
5545965cdf Space pls 2013-11-12 22:09:34 +01:00
Olof Larsson
0cca530a60 PS will complain on weird values. Reason being GSON cant serialize weird stuff. 2013-11-12 22:02:53 +01:00
Olof Larsson
86db5a6bdd This is 6.9.0, now with fully dynamic command registration. 2013-11-11 09:21:16 +01:00
Olof Larsson
4b03dd4e2b First minor attempts at lazy. 2013-10-18 15:40:25 +02:00
Olof Larsson
e630d509ed Add in lazy option without implementing it. 2013-10-18 14:50:12 +02:00
Olof Larsson
03c2d8b6a1 MStore ID strategy does not exist anymore. Delete this remnant. 2013-10-18 14:09:03 +02:00
Olof Larsson
6cce48eed4 Updating the vanilla side of the itemstackformat.txt for item attributes. 2013-10-15 15:21:25 +02:00
Olof Larsson
5f692d215a Handle zero time diff better 2013-10-10 14:29:20 +02:00
Olof Larsson
480fcdc8b9 Add a permission arg reader and the option to turn of the cmd arg tokenizer. 2013-10-06 14:28:29 +02:00
Olof Larsson
31f3964cb9 Triple 2013-10-03 16:06:43 +02:00
Olof Larsson
17c21a0918 Trim content for possible evasion of hidden invalid chars. 2013-10-03 00:37:07 +02:00
Olof Larsson
23ddea0772 Add a removeByIndex utility method and a new arg reader. 2013-10-01 11:34:45 +02:00
Olof Larsson
af539e1a51 Small changes to the Couple 2013-09-30 20:09:33 +02:00
Olof Larsson
6de0729328 Immutable Couple Class pls 2013-09-30 17:29:18 +02:00
Olof Larsson
a663566a89 Advanced String arg reader pls 2013-09-30 16:36:07 +02:00
Olof Larsson
7b3970ff5c This is 6.8.1 2013-09-22 11:39:02 +02:00
Olof Larsson
824e1640c5 Increase the online state lookup speed. Improves MassiveCraft/Factions#423 2013-09-22 11:32:51 +02:00
Olof Larsson
4fb97cb0ae This is 6.8.0 2013-09-21 11:57:47 +02:00
Olof Larsson
9a7e87ec2b Update for Minecraft 1.6.4 2013-09-20 13:12:24 +02:00
Olof Larsson
cf5751333e Allow ArgReader to handle case where arg is null. 2013-09-19 16:20:17 +02:00
Olof Larsson
91f9ec7c0c JSON errors are sometimes IllegalStateExceptions. Fixes #43 2013-09-15 10:06:14 +02:00
Olof Larsson
b9dd57b7e3 Add custom data to all Entities instead of Factions only. 2013-09-10 03:34:06 +02:00
Olof Larsson
f4b3924dc3 We wanna serialize JsonElements as JsonElements, duh 2013-09-10 02:40:57 +02:00
Olof Larsson
5782eb9193 For those that felt like clearing their config file. 2013-09-09 19:57:04 +02:00
Olof Larsson
0c8f1c9cf1 Check if AsyncPlayerChatEvent is async or not. Fixes #35. 2013-09-08 22:59:40 +02:00
Olof Larsson
ae575ac674 Merge branch 'master' of github.com:MassiveCraft/mcore 2013-09-06 11:35:28 +02:00
Olof Larsson
ac3ff4590e Make recipient event work for console. Add in some more debug in mstore. 2013-09-06 11:35:07 +02:00
Olof Larsson
db2a64504d Merge pull request #34 from riking/findbugs
More Findbugs reports <3
2013-08-31 05:26:31 -07:00
riking
fe6ce01037 Define hashCode() for TimeUnit as it is being used in a HashMap
TimeUnit is being used as the key to a map in TimeDiffUtil, so we must define a hashCode() consistent with its equals() method.

The implementation is the same as java.lang.Long.hashCode().
2013-08-30 18:45:57 -07:00
riking
5c6cd57a4d Use a MutableBoolean to synchronize on instead of a Boolean
The code synchronizes on a boxed primitive constant, such as an Boolean.

Since there normally exist only two Boolean objects, this code could be synchronizing on the same object as other, unrelated code, leading to unresponsiveness and possible deadlock.

This commit uses the MutableBoolean class from commons-lang, which is included in bukkit.jar.
2013-08-30 18:40:48 -07:00
Olof Larsson
f78872c157 Oh yeah. I should not use ServerConf since this could be MConf. 2013-08-29 10:55:35 +02:00
Olof Larsson
3439cf75c5 This is MCore 6.7.0 2013-08-29 09:30:42 +02:00