added error message for missing player name AcInform
This commit is contained in:
		| @@ -42,7 +42,7 @@ public class AcInform extends Appliance { | ||||
|         Component prefix = Component.text("# ", NamedTextColor.DARK_RED); | ||||
|         NamedTextColor textColor = NamedTextColor.GRAY; | ||||
|  | ||||
|         if(playerName == null || playerName.isBlank()) return; | ||||
|         if(playerName == null || playerName.isBlank()) throw new ApplianceCommand.Error("acinform command needs a player (--playerName)"); | ||||
|  | ||||
|         if(anticheatName != null && !anticheatName.isBlank()) { | ||||
|             component.append( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user