Fix for admin castle command target.
Contributed by darkillust.
This commit is contained in:
		| @@ -76,7 +76,7 @@ public class AdminCastle implements IAdminCommandHandler | ||||
| 				else | ||||
| 				{ | ||||
| 					final String action = st.nextToken(); | ||||
| 					final PlayerInstance target = checkTarget(activeChar) ? activeChar.getActingPlayer() : null; | ||||
| 					final PlayerInstance target = checkTarget(activeChar) ? activeChar.getTarget().getActingPlayer() : null; | ||||
| 					switch (action) | ||||
| 					{ | ||||
| 						case "showRegWindow": | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment