Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b862de2fdc | ||
|
|
e5064aabef | ||
|
|
558431d39c | ||
|
|
eca0980869 | ||
|
|
5645698d3f | ||
|
|
d4cf108d52 |
@@ -11,9 +11,12 @@ dependencies {
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
register("maven", MavenPublication::class) {
|
||||
from(components["java"])
|
||||
register<MavenPublication>("maven") {
|
||||
groupId = project.group.toString()
|
||||
version = project.version.toString()
|
||||
artifactId = rootProject.name
|
||||
|
||||
artifact(rootProject.tasks.shadowJar.get().archiveFile)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -36,6 +36,11 @@ class PetDisplay(
|
||||
val pet = player.activePet
|
||||
|
||||
if (pet != null) {
|
||||
if (player.isInvisible) {
|
||||
remove(player)
|
||||
return
|
||||
}
|
||||
|
||||
@Suppress("DEPRECATION")
|
||||
stand.customName = plugin.configYml.getString("pet-entity.name")
|
||||
.replace("%player%", player.displayName)
|
||||
@@ -77,6 +82,10 @@ class PetDisplay(
|
||||
}
|
||||
|
||||
private fun getOrNew(player: Player): ArmorStand? {
|
||||
if (player.isInvisible) {
|
||||
return null
|
||||
}
|
||||
|
||||
val tracked = trackedEntities[player.uniqueId]
|
||||
val existing = tracked?.stand
|
||||
|
||||
|
||||
@@ -68,14 +68,14 @@ permissions:
|
||||
default: true
|
||||
|
||||
ecopets.xpmultiplier.50percent:
|
||||
description: Gives the player 50% more skill experience
|
||||
description: Gives the player 50% more pet experience
|
||||
default: false
|
||||
ecopets.xpmultiplier.double:
|
||||
description: Gives the player 2x skill experience
|
||||
description: Gives the player 2x pet experience
|
||||
default: false
|
||||
ecopets.xpmultiplier.triple:
|
||||
description: Gives the player 3x skill experience
|
||||
description: Gives the player 3x pet experience
|
||||
default: false
|
||||
ecopets.xpmultiplier.quadruple:
|
||||
description: Gives the player 4x skill experience
|
||||
description: Gives the player 4x pet experience
|
||||
default: false
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#libreforge-updater
|
||||
#Thu Jun 01 12:33:34 BST 2023
|
||||
#Sat Jun 10 13:32:44 BST 2023
|
||||
kotlin.code.style=official
|
||||
libreforge-version=4.17.1
|
||||
version=2.16.1
|
||||
libreforge-version=4.19.0
|
||||
version=2.18.0
|
||||
|
||||
Reference in New Issue
Block a user