maplist cleanup

This commit is contained in:
kremsy
2014-05-08 23:43:30 +02:00
parent 442d06eaa5
commit 8ed8ba6069
2 changed files with 28 additions and 43 deletions

View File

@ -43,6 +43,8 @@ class FaultException extends Exception
return new ServerOptionsException($faultString, $faultCode);
case 'the next map must be different from the current one.':
return new NextMapException($faultString, $faultCode);
case 'Map not found.':
return new MapNotFoundException($faultString, $faultCode);
}
return new self($faultString, $faultCode);
@ -61,4 +63,5 @@ class MapNotCompatibleOrCompleteException extends FaultException{}
class PlayerAlreadyIgnoredException extends FaultException{}
class PlayerNotIgnoredException extends FaultException{}
class ServerOptionsException extends FaultException{}
class NextMapException extends FaultException{}
class NextMapException extends FaultException{}
class MapNotFoundException extends FaultException{}