Added senderIsConsole boolean to FBaseCommand to simplify checking whether sender is console or player
Fix for /f disband indicating a random player if command came from console Fix for factions being able to potentially set relations with safe zone or war zone (though it didn't do anything, of course)
This commit is contained in:
@ -38,8 +38,8 @@ public class FRelationCommand extends FBaseCommand {
|
||||
return;
|
||||
}
|
||||
|
||||
if (otherFaction.getId() == 0) {
|
||||
sendMessage("Nope! You can't :) The default faction is not a real faction.");
|
||||
if (!otherFaction.isNormal()) {
|
||||
sendMessage("Nope! You can't :) You can only ally with player factions.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user