it is done
This commit is contained in:
15
core/src/mindustry/net/ValidateException.java
Normal file
15
core/src/mindustry/net/ValidateException.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package mindustry.net;
|
||||
|
||||
import mindustry.entities.type.Player;
|
||||
|
||||
/**
|
||||
* Thrown when a client sends invalid information.
|
||||
*/
|
||||
public class ValidateException extends RuntimeException{
|
||||
public final Player player;
|
||||
|
||||
public ValidateException(Player player, String s){
|
||||
super(s);
|
||||
this.player = player;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user