mirror of
https://github.com/Artillex-Studios/AxMinions.git
synced 2024-11-25 12:05:56 +01:00
Fix compile
This commit is contained in:
parent
41506f281a
commit
0944160d2a
@ -59,7 +59,7 @@ class LitMinionsConverter : Converter {
|
||||
|
||||
val locationId = AxMinionsPlugin.dataHandler.getLocationID(location)
|
||||
val chestLocationId = if (chestLocation != null) AxMinionsPlugin.dataHandler.getLocationID(chestLocation) else 0
|
||||
val minion = Minion(location, uuid, Bukkit.getOfflinePlayer(uuid), type, level, ItemStack(Material.AIR), chestLocation, direction, statistics, storage, locationId, chestLocationId)
|
||||
val minion = Minion(location, uuid, Bukkit.getOfflinePlayer(uuid), type, level, ItemStack(Material.AIR), chestLocation, direction, statistics, storage, locationId, chestLocationId, 0)
|
||||
minion.setTicking(true)
|
||||
AxMinionsPlugin.dataHandler.saveMinion(minion)
|
||||
}
|
||||
|
@ -92,6 +92,7 @@ class MinionPlaceListener : Listener {
|
||||
stats,
|
||||
0.0,
|
||||
locationId,
|
||||
0,
|
||||
0
|
||||
)
|
||||
Minions.startTicking(chunk)
|
||||
|
Loading…
Reference in New Issue
Block a user