forked from MagicBane/Server
healer archmage fix and saetor ranger fix
This commit is contained in:
@@ -32,6 +32,8 @@ import org.pmw.tinylog.Logger;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.time.DayOfWeek;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
@@ -111,6 +113,11 @@ public final class Bane {
|
||||
|
||||
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){
|
||||
ChatManager.chatSystemError(player, "You can only place banes on Wednesdays and Thursdays.");
|
||||
return false;
|
||||
}
|
||||
|
||||
Guild baningGuild;
|
||||
Zone cityZone;
|
||||
City targetCity;
|
||||
|
||||
Reference in New Issue
Block a user