-/*
- * Decompiled with CFR 0.151.
- *
- * Could not load the following classes:
- * com.wurmonline.client.renderer.PickableUnit
- * com.wurmonline.client.renderer.cell.CreatureCellRenderable
- */
package net.encode.wurmesp.feature.hook;
import com.wurmonline.client.renderer.PickableUnit;
method.invoke(proxy, args);
PickableUnit pUnit = (PickableUnit)proxy;
Unit unit = new Unit(CellRenderable.world, pUnit.getId(), pUnit, ((CreatureCellRenderable)proxy).getModelName().toString(), ((CreatureCellRenderable)proxy).getHoverName());
+
+ if(unit.getHoverName().contains("preserved")) {
+ return null;
+ }
+
if (unit.isPlayer() || unit.isMob()) {
WurmEspMod.pickableUnits.add(unit);
if (unit.isUnique() && WurmEspMod.uniques && WurmEspMod.playsoundunique) {