Compare commits
21 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f1f6b206c | ||
|
|
2a465013d4 | ||
|
|
ff9e2cbcba | ||
|
|
ebda2dd3c9 | ||
|
|
75794f4af7 | ||
|
|
53d7688436 | ||
|
|
e145b21cb8 | ||
|
|
bf436b239f | ||
|
|
4707291704 | ||
|
|
321d3ed92c | ||
|
|
88b25f93ce | ||
|
|
244626682e | ||
|
|
af6b811458 | ||
|
|
e5064aabef | ||
|
|
558431d39c | ||
|
|
eca0980869 | ||
|
|
5645698d3f | ||
|
|
d4cf108d52 | ||
|
|
95c8fe5277 | ||
|
|
0975391c9c | ||
|
|
3d4666f7e0 |
1
.github/CODEOWNERS
vendored
Normal file
1
.github/CODEOWNERS
vendored
Normal file
@@ -0,0 +1 @@
|
||||
* @WillFP
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#libreforge-updater
|
||||
#Tue May 23 16:12:26 BST 2023
|
||||
#Fri Jul 21 12:33:13 BST 2023
|
||||
kotlin.code.style=official
|
||||
libreforge-version=4.16.0
|
||||
version=2.15.0
|
||||
libreforge-version=4.25.0
|
||||
version=2.24.0
|
||||
|
||||
Reference in New Issue
Block a user