mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-10 22:41:50 +01:00
22 lines
370 B
Java
22 lines
370 B
Java
|
package me.clip.placeholderapi.expansion;
|
||
|
|
||
|
public class Version {
|
||
|
|
||
|
private boolean isSpigot;
|
||
|
|
||
|
private String version;
|
||
|
|
||
|
public Version(String version, boolean isSpigot) {
|
||
|
this.version = version;
|
||
|
this.isSpigot = isSpigot;
|
||
|
}
|
||
|
|
||
|
public String getVersion() {
|
||
|
return version == null ? "unknown" : version;
|
||
|
}
|
||
|
|
||
|
public boolean isSpigot() {
|
||
|
return isSpigot;
|
||
|
}
|
||
|
}
|