View Single Post
11-03-14, 10:01 AM   #2
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2011
Posts: 194
Edit: Disregard this post. I can't read.

Put this at the top of your code:
lua Code:
  1. local _, class = UnitClass("player")
  2. if class == "DEATHKNIGHT" then return end

This stops the code from doing anything if the player is a DK.

Last edited by Choonstertwo : 11-03-14 at 10:06 AM.
  Reply With Quote