mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-10-31 17:23:42 +01:00 
			
		
		
		
	Move exceptions to their own package.
This will break plugins that directly catch these exceptions.
This commit is contained in:
		| @@ -4,6 +4,8 @@ import java.util.Set; | ||||
|  | ||||
| import org.bukkit.entity.Player; | ||||
|  | ||||
| import com.gmail.nossr50.api.exceptions.InvalidPlayerException; | ||||
| import com.gmail.nossr50.api.exceptions.InvalidSkillException; | ||||
| import com.gmail.nossr50.config.Config; | ||||
| import com.gmail.nossr50.datatypes.player.PlayerProfile; | ||||
| import com.gmail.nossr50.datatypes.skills.SkillType; | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| package com.gmail.nossr50.api; | ||||
| package com.gmail.nossr50.api.exceptions; | ||||
| 
 | ||||
| public class InvalidPlayerException extends RuntimeException { | ||||
|     private static final long serialVersionUID = 907213002618581385L; | ||||
| @@ -1,4 +1,4 @@ | ||||
| package com.gmail.nossr50.api; | ||||
| package com.gmail.nossr50.api.exceptions; | ||||
| 
 | ||||
| public class InvalidSkillException extends RuntimeException { | ||||
|     private static final long serialVersionUID = 942705284195791157L; | ||||
		Reference in New Issue
	
	Block a user
	 GJ
					GJ