Add newer CoalGov update
This commit is contained in:
@@ -12,8 +12,30 @@ public record CoalNpc(
|
||||
String world,
|
||||
double x,
|
||||
double y,
|
||||
double z
|
||||
double z,
|
||||
String role,
|
||||
String workWorld,
|
||||
Double workX,
|
||||
Double workY,
|
||||
Double workZ,
|
||||
int hunger,
|
||||
long lastFoodAt
|
||||
) {
|
||||
public CoalNpc(
|
||||
long id,
|
||||
int citizensId,
|
||||
UUID accountUuid,
|
||||
String npcType,
|
||||
String name,
|
||||
long zoneId,
|
||||
String world,
|
||||
double x,
|
||||
double y,
|
||||
double z
|
||||
) {
|
||||
this(id, citizensId, accountUuid, npcType, name, zoneId, world, x, y, z, "", null, null, null, null, 20, 0L);
|
||||
}
|
||||
|
||||
public boolean trader() {
|
||||
return npcType.equalsIgnoreCase("TRADER");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user