Skip to content

Commit

Permalink
Fix function signature and deprecate skin metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Apr 18, 2020
1 parent 1fedd98 commit 31cb1c2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Expand Up @@ -4,14 +4,14 @@
import java.util.ListIterator;
import java.util.Random;
import java.util.Set;
import java.util.function.Function;

import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.util.Vector;

import com.google.common.base.Function;
import com.google.common.collect.Lists;

import net.citizensnpcs.api.ai.event.CancelReason;
Expand Down
12 changes: 8 additions & 4 deletions src/main/java/net/citizensnpcs/api/npc/NPC.java
Expand Up @@ -369,20 +369,24 @@ public interface NPC extends Agent, Cloneable {
*/
public static final String PATHFINDER_OPEN_DOORS_METADATA = "pathfinder-open-doors";
/**
* @see Skinnable
* @see SkinTrait
*/
@Deprecated
public static final String PLAYER_SKIN_TEXTURE_PROPERTIES_METADATA = "player-skin-textures";
/**
* @see Skinnable
* @see SkinTrait
*/
@Deprecated
public static final String PLAYER_SKIN_TEXTURE_PROPERTIES_SIGN_METADATA = "player-skin-signature";
/**
* @see Skinnable
* @see SkinTrait
*/
@Deprecated
public static final String PLAYER_SKIN_USE_LATEST = "player-skin-use-latest-skin";
/**
* @see Skinnable
* @see SkinTrait
*/
@Deprecated
public static final String PLAYER_SKIN_UUID_METADATA = "player-skin-name";
/**
* The Integer delay to respawn in ticks after death. Only works if non-zero.
Expand Down

0 comments on commit 31cb1c2

Please sign in to comment.