Compare commits

...

10 Commits

Author SHA1 Message Date
Auxilor
4707291704 libreforge-updater 2023-07-04 14:49:52 +01:00
Auxilor
321d3ed92c libreforge-updater 2023-06-27 10:41:52 +01:00
Auxilor
88b25f93ce libreforge-updater 2023-06-21 10:23:26 +01:00
Auxilor
244626682e libreforge-updater 2023-06-19 11:12:39 +02:00
Will FP
af6b811458 Create CODEOWNERS 2023-06-17 21:22:30 +02:00
Auxilor
e5064aabef libreforge-updater 2023-06-10 13:32:44 +01:00
Auxilor
558431d39c libreforge-updater 2023-06-05 16:26:49 +01:00
Auxilor
eca0980869 Fixed Publications 2023-06-03 18:03:02 +01:00
Auxilor
5645698d3f libreforge-updater 2023-06-03 15:45:34 +01:00
Auxilor
d4cf108d52 Invisible players will no longer have visible pets 2023-06-03 14:00:18 +01:00
4 changed files with 19 additions and 6 deletions

1
.github/CODEOWNERS vendored Normal file
View File

@@ -0,0 +1 @@
* @WillFP

View File

@@ -3,7 +3,7 @@ version = rootProject.version
dependencies {
compileOnly("io.papermc.paper:paper-api:1.19.3-R0.1-SNAPSHOT")
compileOnly("com.ticxo.modelengine:api:R3.1.5")
compileOnly("com.ticxo.modelengine:api:R3.1.6")
compileOnly("com.github.ben-manes.caffeine:caffeine:3.0.2")
implementation("com.willfp:ecomponent:1.3.0")
@@ -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)
}
}

View File

@@ -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

View File

@@ -1,5 +1,5 @@
#libreforge-updater
#Thu Jun 01 12:33:34 BST 2023
#Tue Jul 04 14:49:52 BST 2023
kotlin.code.style=official
libreforge-version=4.17.1
version=2.16.1
libreforge-version=4.21.0
version=2.20.0