diff --git a/src/main/java/de/erethon/dungeonsxl/game/GameType.java b/src/main/java/de/erethon/dungeonsxl/game/GameType.java index e81131ab..ba4a191d 100644 --- a/src/main/java/de/erethon/dungeonsxl/game/GameType.java +++ b/src/main/java/de/erethon/dungeonsxl/game/GameType.java @@ -28,121 +28,121 @@ public interface GameType { /** * @return the displayName */ - public String getDisplayName(); + String getDisplayName(); /** * @param displayName the displayName to set */ - public void setDisplayName(String displayName); + void setDisplayName(String displayName); /** * @return the signName */ - public String getSignName(); + String getSignName(); /** * @param signName the signName to set */ - public void setSignName(String signName); + void setSignName(String signName); /** * @return the goal of the game */ - public GameGoal getGameGoal(); + GameGoal getGameGoal(); /** * @param gameGoal the goal of the game to set */ - public void setGameGoal(GameGoal gameGoal); + void setGameGoal(GameGoal gameGoal); /** * @return the playerVersusPlayer */ - public Boolean isPlayerVersusPlayer(); + Boolean isPlayerVersusPlayer(); /** * @param playerVersusPlayer the playerVersusPlayer to set */ - public void setPlayerVersusPlayer(Boolean playerVersusPlayer); + void setPlayerVersusPlayer(Boolean playerVersusPlayer); /** * @return the friendlyFire */ - public Boolean isFriendlyFire(); + Boolean isFriendlyFire(); /** * @param friendlyFire the friendlyFire to set */ - public void setFriendlyFire(Boolean friendlyFire); + void setFriendlyFire(Boolean friendlyFire); /** * @return if players get rewards after the dungeon */ - public Boolean hasRewards(); + Boolean hasRewards(); /** * @param rewards enable / disable rewards */ - public void setRewards(Boolean rewards); + void setRewards(Boolean rewards); /** * @return if players shall see how long they play */ - public Boolean getShowTime(); + Boolean getShowTime(); /** * @param showTime set if players shall see how long they play */ - public void setShowTime(Boolean showTime); + void setShowTime(Boolean showTime); /** * @return if all blocks may be destroyed */ - public Boolean canBreakBlocks(); + Boolean canBreakBlocks(); /** * @param breakBlocks if blocks may be destroyed */ - public void setBreakBlocks(Boolean breakBlocks); + void setBreakBlocks(Boolean breakBlocks); /** * @return if blocks placed in game may be destroyed */ - public Boolean canBreakPlacedBlocks(); + Boolean canBreakPlacedBlocks(); /** * @param breakPlacedBlocks if placed blocks may be destroyed */ - public void setBreakPlacedBlocks(Boolean breakPlacedBlocks); + void setBreakPlacedBlocks(Boolean breakPlacedBlocks); /** * @return if blocks may be placed */ - public Boolean canPlaceBlocks(); + Boolean canPlaceBlocks(); /** * @param placeBlocks if blocks may be placed */ - public void setPlaceBlocks(Boolean placeBlocks); + void setPlaceBlocks(Boolean placeBlocks); /** * @return the gameMode */ - public GameMode getGameMode(); + GameMode getGameMode(); /** * @param gameMode the gameMode to set */ - public void setGameMode(GameMode gameMode); + void setGameMode(GameMode gameMode); /** * @return if players lose lives */ - public Boolean hasLives(); + Boolean hasLives(); /** * @param lives set if the gametype uses player lives */ - public void setLives(Boolean lives); + void setLives(Boolean lives); } diff --git a/src/main/java/de/erethon/dungeonsxl/requirement/RequirementType.java b/src/main/java/de/erethon/dungeonsxl/requirement/RequirementType.java index 5782b71b..b8b84e38 100644 --- a/src/main/java/de/erethon/dungeonsxl/requirement/RequirementType.java +++ b/src/main/java/de/erethon/dungeonsxl/requirement/RequirementType.java @@ -26,11 +26,11 @@ public interface RequirementType { /** * @return the identifier */ - public String getIdentifier(); + String getIdentifier(); /** * @return the handler */ - public Class getHandler(); + Class getHandler(); } diff --git a/src/main/java/de/erethon/dungeonsxl/reward/RewardType.java b/src/main/java/de/erethon/dungeonsxl/reward/RewardType.java index e16e0878..e2a14af3 100644 --- a/src/main/java/de/erethon/dungeonsxl/reward/RewardType.java +++ b/src/main/java/de/erethon/dungeonsxl/reward/RewardType.java @@ -26,11 +26,11 @@ public interface RewardType { /** * @return the identifier */ - public String getIdentifier(); + String getIdentifier(); /** * @return the handler */ - public Class getHandler(); + Class getHandler(); } diff --git a/src/main/java/de/erethon/dungeonsxl/sign/DSignType.java b/src/main/java/de/erethon/dungeonsxl/sign/DSignType.java index 3c6bbb5a..ff41c912 100644 --- a/src/main/java/de/erethon/dungeonsxl/sign/DSignType.java +++ b/src/main/java/de/erethon/dungeonsxl/sign/DSignType.java @@ -26,26 +26,26 @@ public interface DSignType { /** * @return the name */ - public String getName(); + String getName(); /** * @return the buildPermission */ - public String getBuildPermission(); + String getBuildPermission(); /** * @return if the sign gets initialized when the dungeon is loaded instead of when the game starts */ - public boolean isOnDungeonInit(); + boolean isOnDungeonInit(); /** * @return if the sign block should be destroyable after the initialization */ - public boolean isProtected(); + boolean isProtected(); /** * @return the handler */ - public Class getHandler(); + Class getHandler(); } diff --git a/src/main/java/de/erethon/dungeonsxl/trigger/TriggerType.java b/src/main/java/de/erethon/dungeonsxl/trigger/TriggerType.java index fb28fa62..32c64aa3 100644 --- a/src/main/java/de/erethon/dungeonsxl/trigger/TriggerType.java +++ b/src/main/java/de/erethon/dungeonsxl/trigger/TriggerType.java @@ -26,11 +26,11 @@ public interface TriggerType { /** * @return the identifier */ - public String getIdentifier(); + String getIdentifier(); /** * @return the handler */ - public Class getHandler(); + Class getHandler(); } diff --git a/src/main/java/de/erethon/dungeonsxl/util/LWCUtil.java b/src/main/java/de/erethon/dungeonsxl/util/LWCUtil.java index f1c0a4e1..ac32df27 100644 --- a/src/main/java/de/erethon/dungeonsxl/util/LWCUtil.java +++ b/src/main/java/de/erethon/dungeonsxl/util/LWCUtil.java @@ -1,7 +1,18 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2012-2019 Frank Baumann + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package de.erethon.dungeonsxl.util; diff --git a/src/main/java/de/erethon/dungeonsxl/world/block/MultiBlock.java b/src/main/java/de/erethon/dungeonsxl/world/block/MultiBlock.java index c0df59bd..4f8ca35a 100644 --- a/src/main/java/de/erethon/dungeonsxl/world/block/MultiBlock.java +++ b/src/main/java/de/erethon/dungeonsxl/world/block/MultiBlock.java @@ -25,6 +25,6 @@ import org.bukkit.block.Block; */ public interface MultiBlock { - public Block getAttachedBlock(); + Block getAttachedBlock(); }