mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-05-31 17:31:24 +00:00
19 lines
440 B
Java
19 lines
440 B
Java
package com.projectkorra.projectkorra.element;
|
|
|
|
import org.bukkit.ChatColor;
|
|
|
|
public class SubElement extends Element {
|
|
|
|
private final Element parent;
|
|
|
|
public SubElement(int elementId, String elementName, String displayName, ChatColor color, ElementManager.ElementType type, Element parent) {
|
|
super(elementId, elementName, displayName, color, type);
|
|
|
|
this.parent = parent;
|
|
}
|
|
|
|
public Element getParent() {
|
|
return this.parent;
|
|
}
|
|
}
|