Skip to content
Browse files
Default nether-portal-protection to true.
Pre 1.14, this was false by default as one could repeatedly force portal
searches by entering a portal which would lead into a protected area.

Since 1.14, the event we have access too happens independently of the
portal search, so the player will get teleported regardless of whether
a portal is present or if the creation gets cancelled.
  • Loading branch information
wizjany committed Feb 15, 2020
1 parent d95c6af commit 523e45188d1440744c7df4cdb31dd09dd2fd5d68
Showing 1 changed file with 1 addition and 1 deletion.
@@ -256,7 +256,7 @@ public void loadConfiguration() {
useRegions = getBoolean("regions.enable", true);
regionInvinciblityRemovesMobs = getBoolean("regions.invincibility-removes-mobs", false);
regionCancelEmptyChatEvents = getBoolean("regions.cancel-chat-without-recipients", true);
regionNetherPortalProtection = getBoolean("regions.nether-portal-protection", false);
regionNetherPortalProtection = getBoolean("regions.nether-portal-protection", true);
fakePlayerBuildOverride = getBoolean("regions.fake-player-build-override", true);
explosionFlagCancellation = getBoolean("regions.explosion-flags-block-entity-damage", true);
highFreqFlags = getBoolean("regions.high-frequency-flags", false);

0 comments on commit 523e451

Please sign in to comment.