Set the generators on loaded worlds

- uses reflection to access private fields of CBS internals
- sets the generator correctly (verified)
- sets the populators correctly (verified)
- should also work for augmented world types (needs verification)
This commit is contained in:
boy0001 2015-05-20 02:09:22 +10:00
parent bb4f8fceec
commit e7733e749d
4 changed files with 65 additions and 2 deletions

View file

@ -498,6 +498,7 @@ public class PlotSquared {
}
public PlotSquared(final IPlotMain imp_class) {
SetupUtils.generators = new HashMap<>();
THIS = this;
IMP = imp_class;
try {