Skip to content

Commit

Permalink
Implement requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zax71 committed Apr 27, 2024
1 parent 406a3d3 commit c82a4b0
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import com.onarandombox.MultiverseCore.destination.DestinationFactory;
import com.onarandombox.MultiverseCore.enums.TeleportResult;
import com.onarandombox.MultiverseCore.utils.MVPermissions;
import com.onarandombox.MultiverseCore.utils.MVTravelAgent;
import com.onarandombox.MultiverseCore.api.SafeTTeleporter;
import com.onarandombox.MultiverseSignPortals.MultiverseSignPortals;
import com.onarandombox.MultiverseSignPortals.exceptions.MoreThanOneSignFoundException;
Expand All @@ -29,8 +28,6 @@
import org.bukkit.event.player.PlayerPortalEvent;
import org.bukkit.permissions.PermissionDefault;

import java.util.logging.Level;

public class MVSPPlayerListener implements Listener {

private static final String USE_PERMISSION = "multiverse.signportal.use";
Expand Down Expand Up @@ -86,8 +83,6 @@ public void playerPortal(PlayerPortalEvent event) {
*/
@EventHandler
public void playerInteract(PlayerInteractEvent event) {


// The event must not be canceled...
if (event.isCancelled()) {
return;
Expand Down Expand Up @@ -128,9 +123,6 @@ public void playerInteract(PlayerInteractEvent event) {
break;
case NetherPortalSign:
event.setCancelled(true);
break;
case NotASignPortal: // We shouldn't bother with other people's stuff
event.setCancelled(false);
}
}

Expand Down

0 comments on commit c82a4b0

Please sign in to comment.