mirror of
				https://github.com/PlaceholderAPI/PlaceholderAPI
				synced 2025-10-30 18:03:43 +01:00 
			
		
		
		
	updated classes with contract annotations
This commit is contained in:
		| @@ -22,6 +22,7 @@ package me.clip.placeholderapi; | ||||
|  | ||||
| import org.bukkit.OfflinePlayer; | ||||
| import org.bukkit.entity.Player; | ||||
| import org.jetbrains.annotations.ApiStatus; | ||||
| import org.jetbrains.annotations.NotNull; | ||||
| import org.jetbrains.annotations.Nullable; | ||||
|  | ||||
| @@ -29,6 +30,8 @@ import org.jetbrains.annotations.Nullable; | ||||
|  * @deprecated This class will be completely removed in the next release, please use {@link me.clip.placeholderapi.expansion.PlaceholderExpansion} | ||||
|  */ | ||||
| @Deprecated | ||||
| @ApiStatus.NonExtendable | ||||
| @ApiStatus.ScheduledForRemoval(inVersion = "2.10.8") | ||||
| public abstract class PlaceholderHook | ||||
| { | ||||
|  | ||||
| @@ -64,6 +67,7 @@ public abstract class PlaceholderHook | ||||
| 	 */ | ||||
| 	@Nullable | ||||
| 	@Deprecated | ||||
| 	@ApiStatus.ScheduledForRemoval(inVersion = "2.10.8") | ||||
| 	public String onPlaceholderRequest(@Nullable final Player player, @NotNull final String params) | ||||
| 	{ | ||||
| 		return null; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user