<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -19,6 +19,7 @@ function Cork:GenerateLastBuffedBuffer(spellname, icon)
 
 	local endtime, elapsed
 	local function Test()
+		if IsResting() then return end
 		if not Cork.dbpc[spellname..&quot;-enabled&quot;] or not lasttarget then
 			f:Hide()
 			return
@@ -34,6 +35,7 @@ function Cork:GenerateLastBuffedBuffer(spellname, icon)
 	end
 
 
+	ae.RegisterEvent(&quot;Cork &quot;..spellname, &quot;PLAYER_UPDATE_RESTING&quot;, function() dataobj.custom = Test() end)
 	ae.RegisterEvent(&quot;Cork &quot;..spellname, &quot;PARTY_MEMBERS_CHANGED&quot;, function() if lasttarget and not UnitInParty(lasttarget) then lasttarget, dataobj.custom = nil end end)
 	ae.RegisterEvent(&quot;Cork &quot;..spellname, &quot;RAID_ROSTER_UPDATE&quot;, function() if lasttarget and not UnitInRaid(lasttarget) then lasttarget, dataobj.custom = nil end end)
 	ae.RegisterEvent(&quot;Cork &quot;..spellname, &quot;UNIT_PET&quot;, function() if lasttarget and not (UnitInParty(lasttarget) or UnitInRaid(lasttarget)) then lasttarget, dataobj.custom = nil end end)</diff>
      <filename>templates/LastBuffedBuffer.lua</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>70918ebb1f140d63a0098f0126579b4af823d4a2</id>
    </parent>
  </parents>
  <author>
    <name>Tekkub</name>
    <email>tekkub@gmail.com</email>
  </author>
  <url>http://github.com/tekkub/cork/commit/23d0d943f0631fa41f11424c6d370f73be1182db</url>
  <id>23d0d943f0631fa41f11424c6d370f73be1182db</id>
  <committed-date>2009-06-27T00:24:06-07:00</committed-date>
  <authored-date>2009-06-27T00:24:06-07:00</authored-date>
  <message>Make &quot;last buffed&quot; templates hide when resting</message>
  <tree>c709788bcadc48c8a0e93d405ecb77f1d26ed0ba</tree>
  <committer>
    <name>Tekkub</name>
    <email>tekkub@gmail.com</email>
  </committer>
</commit>
