join heavens host allowed for prelates
This commit is contained in:
@@ -331,17 +331,18 @@ public enum PowersManager {
|
|||||||
|
|
||||||
|
|
||||||
// Check powers for normal users
|
// Check powers for normal users
|
||||||
if (playerCharacter.getPowers() == null || !playerCharacter.getPowers().containsKey(msg.getPowerUsedID()))
|
if(msg.getPowerUsedID() != 421084024) {
|
||||||
if (!playerCharacter.isCSR()) {
|
if (playerCharacter.getPowers() == null || !playerCharacter.getPowers().containsKey(msg.getPowerUsedID()))
|
||||||
if (!MBServerStatics.POWERS_DEBUG) {
|
if (!playerCharacter.isCSR()) {
|
||||||
// ChatManager.chatSayInfo(pc, "You may not cast that spell!");
|
if (!MBServerStatics.POWERS_DEBUG) {
|
||||||
|
// ChatManager.chatSayInfo(pc, "You may not cast that spell!");
|
||||||
Logger.info("usePowerA(): Cheat attempted? '" + msg.getPowerUsedID() + "' was not associated with " + playerCharacter.getName());
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
} else
|
|
||||||
CSRCast = true;
|
|
||||||
|
|
||||||
|
Logger.info("usePowerA(): Cheat attempted? '" + msg.getPowerUsedID() + "' was not associated with " + playerCharacter.getName());
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
} else
|
||||||
|
CSRCast = true;
|
||||||
|
}
|
||||||
// get numTrains for power
|
// get numTrains for power
|
||||||
int trains = msg.getNumTrains();
|
int trains = msg.getNumTrains();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user