Commit Graph

13 Commits

Author SHA1 Message Date
Byteflux 415b06a4c3 Fix StackOverflow when attempting to serialize ItemMeta with nested maps.
This removes the JSON library included with PlayerVaults and uses
SimpleJSON included with Bukkit.
2016-03-08 13:51:12 -08:00
kashike aaef544ea4 Don't create new file when attempting to load cache. Fixes #107 2016-02-05 23:03:15 -08:00
drtshock f1c30c6a37 Some more cleanup and formatting. 2015-04-27 14:09:34 -05:00
drtshock ede738019a Update vault size each time inventory is opened.
Before, the VaultViewInfo was being stored as name instead of uuid as well as not being removed when a vault was closed. This caused the same inventory to be accessed from memory each time the vault was opened after the first opening since the last restart when it would load from file. Since we are recreating the inventory each time, there will likely be a performance loss but we will update the vault title and size each time its opened. Resolves #58.
2015-04-27 14:02:51 -05:00
drtshock 3c122dbe59 Reformat 2014-05-28 08:22:20 -05:00
Joshua Popoff 2e429ceb21 Do a bit more cleanup, and shuffle a few things around 2014-05-06 22:37:48 -07:00
Joshua Popoff b5ef633105 General cleanup of everything I can see right now 2014-05-05 12:53:26 -07:00
drtshock 5062fbdbc7 Revert "Reformat"
This reverts commit 4628cc8130.
2014-05-05 12:20:40 -05:00
drtshock 4628cc8130 Reformat 2014-05-05 12:15:32 -05:00
Nate Mortensen e1e2ad18e3 Add handling for Iterables to Serialization
Currently any ConfigurationSerializable object that relies upon Iterables
for its serialization will fail to serialize correctly, and, in turn, fail to
deserialize properly.

To correct this, special casing has been added for Iterables(and Maps in a
few places) to ensure that all ConfigurationSerializable objects are
serialized and deserialized correctly.
2014-04-24 19:29:08 -06:00
drtshock 2d6ac31c2c Reformat 2014-01-20 12:22:09 -07:00
drtshock 89a7e47577 Let's be GPL. Change version to snapshot 2013-10-12 19:41:38 -05:00
drtshock 82a35617bd Add configurable vault sizes. Recoded PR 17 to optimize permission checks and put things in correct classes. Updated to version 3.4.0-SNAPSHOT 2013-10-11 15:44:31 -05:00