mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-26 19:09:44 -05:00
Fix createSection getting sections from itself. Fixes BUKKIT-1513
By: feildmaster <admin@feildmaster.com>
This commit is contained in:
1 parent
e700def943
commit
e115cf3efa
2 files changed
+22
-1
No files matched your search
@@ -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