From 2ecdd6cb1dd05b5627cbee32b357cfc15594809b Mon Sep 17 00:00:00 2001 From: Anthony Zhang Date: Thu, 19 Jul 2012 22:54:26 -0400 Subject: Re-add support for the old WorldEdit save format on a load-only basis. Implemented as worldedit.deserialize_old(), and documented in README.md. //load will now transparently detect these files and load them correctly. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index ffe6852..8b17a37 100644 --- a/README.md +++ b/README.md @@ -179,6 +179,14 @@ Loads the nodes represented by string `value` at position `originpos`. Returns the number of nodes deserialized. +### worldedit.deserialize_old(originpos, value) + +Loads the nodes represented by string `value` at position `originpos`, using the older table-based WorldEdit format. + +This function is deprecated, and should not be used unless there is a need to support legacy WorldEdit save files. + +Returns the number of nodes deserialized. + License ------- Copyright 2012 sfan5 and Anthony Zhang (Temperest) -- cgit v1.2.3