@@ -89,6 +89,7 @@ public class MultiversePortals extends JavaPlugin implements MVPlugin {
8989 private long portalCooldown = 0 ;
9090 private final static int requiresProtocol = 24 ;
9191 public static boolean UseOnMove = true ;
92+ public static boolean bucketFilling = true ;
9293 public static boolean EnforcePortalAccess = true ;
9394 public static boolean WandEnabled = true ;
9495 public static boolean ClearOnRemove = false ;
@@ -275,12 +276,14 @@ public void loadConfig() {
275276 this .MVPConfig = YamlConfiguration .loadConfiguration (new File (getDataFolder (), "config.yml" ));
276277
277278 MultiversePortals .UseOnMove = this .MVPConfig .getBoolean ("useonmove" , true );
279+ MultiversePortals .bucketFilling = this .MVPConfig .getBoolean ("bucketfilling" , true );
278280 MultiversePortals .EnforcePortalAccess = this .MVPConfig .getBoolean ("enforceportalaccess" , true );
279281 this .portalCooldown = this .MVPConfig .getInt ("portalcooldown" , 1000 );
280282 MultiversePortals .ClearOnRemove = this .MVPConfig .getBoolean ("clearonremove" , false );
281283 MultiversePortals .TeleportVehicles = this .MVPConfig .getBoolean ("teleportvehicles" , true );
282284 MultiversePortals .NetherAnimation = this .MVPConfig .getBoolean ("netheranimation" , true );
283285 MultiversePortals .FrameMaterials = migrateFrameMaterials (this .MVPConfig );
286+
284287 // Migrate useportalaccess -> enforceportalaccess
285288 if (this .MVPConfig .get ("useportalaccess" ) != null ) {
286289 this .MVPConfig .set ("enforceportalaccess" , this .MVPConfig .getBoolean ("useportalaccess" , true ));
@@ -519,6 +522,7 @@ public String getVersionInfo() {
519522 + "[Multiverse-Portals] Dumping Portal Values: (version " + this .getMainConfig ().getDouble ("version" , -1 ) + ')' + '\n'
520523 + "[Multiverse-Portals] wand: " + this .getMainConfig ().get ("wand" , "NOT SET" ) + '\n'
521524 + "[Multiverse-Portals] useonmove: " + this .getMainConfig ().get ("useonmove" , "NOT SET" ) + '\n'
525+ + "[Multiverse-Portals] bucketfilling: " + this .getMainConfig ().get ("bucketfilling" , "NOT SET" ) + '\n'
522526 + "[Multiverse-Portals] portalsdefaulttonether: " + this .getMainConfig ().get ("portalsdefaulttonether" , "NOT SET" ) + '\n'
523527 + "[Multiverse-Portals] enforceportalaccess: " + this .getMainConfig ().get ("enforceportalaccess" , "NOT SET" ) + '\n'
524528 + "[Multiverse-Portals] portalcooldown: " + this .getMainConfig ().get ("portalcooldown" , "NOT SET" ) + '\n'
0 commit comments