Browse Source

remove day fo week bane placement restriction

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
cff6714160
  1. 8
      src/engine/objects/Bane.java

8
src/engine/objects/Bane.java

@ -113,10 +113,10 @@ public final class Bane {
public static boolean summonBanestone(PlayerCharacter player, ClientConnection origin, int rank) { public static boolean summonBanestone(PlayerCharacter player, ClientConnection origin, int rank) {
if(LocalDateTime.now().getDayOfWeek().equals(DayOfWeek.WEDNESDAY) == false && LocalDateTime.now().getDayOfWeek().equals(DayOfWeek.THURSDAY) == false){ //if(LocalDateTime.now().getDayOfWeek().equals(DayOfWeek.WEDNESDAY) == false && LocalDateTime.now().getDayOfWeek().equals(DayOfWeek.THURSDAY) == false){
ChatManager.chatSystemError(player, "You can only place banes on Wednesdays and Thursdays."); // ChatManager.chatSystemError(player, "You can only place banes on Wednesdays and Thursdays.");
return false; // return false;
} //}
Guild baningGuild; Guild baningGuild;
Zone cityZone; Zone cityZone;

Loading…
Cancel
Save