Beispiel #1
0
 @Override
 public void onLoad(PluginProperties properties) {
   maxRange = properties.getInteger("spells-blink-range", maxRange);
   autoAscend = properties.getBoolean("spells-blink-auto-ascend", autoAscend);
   autoDescend = properties.getBoolean("spells-blink-aauto-decend", autoDescend);
   autoPassthrough = properties.getBoolean("spells-blink-auto-passthrough", autoPassthrough);
 }
 @Override
 public void onLoad(PluginProperties properties) {
   destructibleMaterials =
       properties.getMaterials("spells-stairs-destructible", DEFAULT_DESTRUCTIBLES);
   defaultDepth = properties.getInteger("spells-stairs-depth", defaultDepth);
   defaultWidth = properties.getInteger("spells-stairs-width", defaultWidth);
   defaultHeight = properties.getInteger("spells-stairs-height", defaultHeight);
   torchFrequency = properties.getInteger("spells-stairs-torch-frequency", torchFrequency);
 }