Commit Graph

13 Commits

Author SHA1 Message Date
Celtic Minstrel
e8f00c8fd8 Added Enchantment.conflictsWith() and EnchantmentTarget.includes(). Addresses BUKKIT-1159 and addresses BUKKIT-1160 2012-03-13 22:20:02 -04:00
Wesley Wolfe
7db0e50da7 [Bleeding] Cleaned up unsafe casts. Addresses BUKKIT-844
Removed internal collection leaks from PluginDescriptionFile
BREAKING: PluginDescriptionFile.getAuthors() now returns List instead of
ArrayList

Various places with unsafe generics, notably List<Object> getList() in
Configurations are now referenced as <?>. This is nonbreaking, but
sourcecode will need to be revised when compiled.
2012-02-29 10:23:16 -05:00
Wesley Wolfe
fa31bf889c [Bleeding] Added Enchantment and misc tests to ItemStack (de)serialization 2012-02-19 01:24:42 -05:00
Nathan Adams
e35037ab50 [Bleeding] Changed event system into a new, much faster design. Huge thanks to @zml2008 & @lahwran. 2012-01-17 19:46:22 +01:00
Erik Broes
eb9dc64493 Generic cleaning 2012-01-15 14:37:43 +01:00
Nathan Adams
0023c705eb Configurations now properly support lists of serializable objects, and ItemStack is properly serializable. Big thanks to GICodeWarrior for the PR. This fixes BUKKIT-425 2012-01-15 11:15:58 +00:00
Nathan Adams
b9d901a305 Fixed YamlConfiguration creating empty lines when reading a file with no contents, and made it trim the initial newlines of any existing config header 2012-01-08 23:32:36 +00:00
Nathan Adams
8c07d9148d Fixed issues with loading YamlConfigurations with typed keys 2011-10-26 06:56:36 +01:00
Nathan Adams
98633dfddf Added new FileConfigurationOptions.copyHeader, defaulting to true. Copies the header from default config, if there is one. 2011-10-12 13:24:57 +01:00
Nathan Adams
ab46572125 Loading a FileConfiguration (Yaml/) should remember the previously saved header 2011-10-12 05:03:47 +01:00
Nathan Adams
190bd31ef3 YamlConfiguration now correctly writes extra blank lines at the end if requested 2011-10-12 04:39:22 +01:00
Nathan Adams
14d3401121 Small javadoc cleanup 2011-10-10 21:58:44 +01:00
Dinnerbone
55f405f4a8 Added new Configuration classes 2011-10-10 21:06:34 +01:00