Fix createSection getting sections from itself. Fixes BUKKIT-1513

This commit is contained in:
feildmaster
2012-04-13 10:19:45 -05:00
parent 863c5e5206
commit 3c1ba91f77
2 changed files with 22 additions and 1 deletions

View File

@@ -243,7 +243,7 @@ public class MemorySection implements ConfigurationSection {
for (int i = 0; i < split.length - 1; i++) {
ConfigurationSection last = section;
section = getConfigurationSection(split[i]);
section = last.getConfigurationSection(split[i]);
if (section == null) {
section = last.createSection(split[i]);