mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 05:02:37 +00:00
Add NPC inline edit support and adjust ability launch mechanics
This commit is contained in:
1 parent
ac223cbb53
commit
910f3b3744
7 files changed
+76
-3
No files matched your search
@@ -130,6 +130,12 @@ public abstract class Ability implements IAbility {
|
||||
protected transient boolean previewMode = false;
|
||||
protected transient PreviewEntityHandler previewEntityHandler;
|
||||
|
||||
// ═══════════════════════════════════════════════════════════════════
|
||||
// GUI CONTEXT (client-side only, not saved)
|
||||
// ═══════════════════════════════════════════════════════════════════
|
||||
|
||||
protected transient boolean npcInlineEdit = false;
|
||||
|
||||
// ═══════════════════════════════════════════════════════════════════
|
||||
// ABSTRACT METHODS
|
||||
// ═══════════════════════════════════════════════════════════════════
|
||||
@@ -1282,6 +1288,14 @@ public abstract class Ability implements IAbility {
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean isNpcInlineEdit() {
|
||||
return npcInlineEdit;
|
||||
}
|
||||
|
||||
public void setNpcInlineEdit(boolean npcInlineEdit) {
|
||||
this.npcInlineEdit = npcInlineEdit;
|
||||
}
|
||||
|
||||
public int getWeight() {
|
||||
return weight;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user