mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
Fix createSection getting sections from itself. Fixes BUKKIT-1513
By: feildmaster <admin@feildmaster.com>
This commit is contained in:
@@ -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]);
|
||||
|
Reference in New Issue
Block a user