From 886a8744e2f1b2bdd5001bb96f95c21f738b4943 Mon Sep 17 00:00:00 2001 From: Sekwah Date: Mon, 25 Jan 2021 01:05:47 +0000 Subject: [PATCH] Merge parts --- .../bukkit/api/warphandler/ActivationData.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/com/sekwah/advancedportals/bukkit/api/warphandler/ActivationData.java b/src/main/java/com/sekwah/advancedportals/bukkit/api/warphandler/ActivationData.java index fde90532..039bb078 100644 --- a/src/main/java/com/sekwah/advancedportals/bukkit/api/warphandler/ActivationData.java +++ b/src/main/java/com/sekwah/advancedportals/bukkit/api/warphandler/ActivationData.java @@ -19,10 +19,7 @@ public class ActivationData { } public void setWarpStatus(WarpedStatus warped){ - if(this.warpStatus == WarpedStatus.WARPED){ - return; - } - else if(this.warpStatus == WarpedStatus.INACTIVE){ + if(this.warpStatus == WarpedStatus.WARPED || this.warpStatus == WarpedStatus.INACTIVE){ return; } this.warpStatus = warped;