Skip to content

Commit

Permalink
Possibly allow other plugins to 'add on to' built in Player tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
aufdemrand committed Aug 10, 2013
1 parent be030f3 commit a5bc81b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -49,7 +49,7 @@ public void addMessage(AsyncPlayerChatEvent event) {
@EventHandler
public void playerTags(ReplaceableTagEvent event) {

if (!event.matches("player, pl")) return;
if (!event.matches("player, pl") || event.replaced()) return;

// Build a new attribute out of the raw_tag supplied in the script to be fulfilled
Attribute attribute = new Attribute(event.raw_tag, event.getScriptEntry());
Expand Down

0 comments on commit a5bc81b

Please sign in to comment.