mirror of
				https://github.com/PlaceholderAPI/PlaceholderAPI
				synced 2025-10-30 18:03:43 +01:00 
			
		
		
		
	Return any Object with the new onPlaceholderRequest method.
This commit is contained in:
		| @@ -31,7 +31,7 @@ public abstract class PlaceholderHook { | ||||
|    * @param params String passed to the hook to determine what value to return | ||||
|    * @return value for the requested player and params | ||||
|    */ | ||||
| 	public String onPlaceholderRequest(OfflinePlayer p, String params) { | ||||
| 	public Object onPlaceholderRequest(OfflinePlayer p, String params) { | ||||
| 		if (p != null && p.isOnline()) { | ||||
| 			return onPlaceholderRequest((Player) p, params); | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user