mirror of
				https://github.com/PlaceholderAPI/PlaceholderAPI
				synced 2025-11-04 07:22:30 +01:00 
			
		
		
		
	Use registerExpansion instead of registerPlaceholderHook in the register method.
This commit is contained in:
		@@ -107,7 +107,7 @@ public abstract class PlaceholderExpansion extends PlaceholderHook {
 | 
			
		||||
	 */
 | 
			
		||||
	public boolean register() {
 | 
			
		||||
		Validate.notNull(getIdentifier(), "Placeholder identifier can not be null!");
 | 
			
		||||
		return PlaceholderAPI.registerPlaceholderHook(getIdentifier(), this);
 | 
			
		||||
		return PlaceholderAPI.registerExpansion(this);
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	/**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user