Commit 204e4c0 1 parent 9a2dd2e commit 204e4c0 Copy full SHA for 204e4c0
File tree 3 files changed +4
-4
lines changed
core/src/main/java/com/sekwah/advancedportals/core
spigot/src/main/java/com/sekwah/advancedportals/spigot/importer
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public boolean isProtectionActive() {
67
67
68
68
@ Override
69
69
public int getProtectionRadius () {
70
- return this .config .portalProtectionRaduis ;
70
+ return this .config .portalProtectionRadius ;
71
71
}
72
72
73
73
@ Override
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public class Config {
10
10
11
11
public boolean portalProtection = true ;
12
12
13
- public int portalProtectionRaduis = 5 ;
13
+ public int portalProtectionRadius = 5 ;
14
14
15
15
public String defaultTriggerBlock = "NETHER_PORTAL" ;
16
16
Original file line number Diff line number Diff line change @@ -156,8 +156,8 @@ public static void importConfig(ConfigRepository configRepo) {
156
156
configOld .getString ("AxeItemId" , config .selectorMaterial );
157
157
config .portalProtection =
158
158
configOld .getBoolean ("PortalProtection" , config .portalProtection );
159
- config .portalProtectionRaduis = configOld .getInt (
160
- "PortalProtectionArea" , config .portalProtectionRaduis );
159
+ config .portalProtectionRadius = configOld .getInt (
160
+ "PortalProtectionArea" , config .portalProtectionRadius );
161
161
config .defaultTriggerBlock = configOld .getString (
162
162
"DefaultPortalTriggerBlock" , config .defaultTriggerBlock );
163
163
if (config .defaultTriggerBlock .equals ("PORTAL" )) {
You can’t perform that action at this time.
0 commit comments