Skip to content

Commit 2aba559

Browse files
committed
Fix deprecated method
1 parent c3e2460 commit 2aba559

File tree

1 file changed

+1
-1
lines changed
  • plugin/src/main/kotlin/trplugins/menu/module/display/texture

1 file changed

+1
-1
lines changed

plugin/src/main/kotlin/trplugins/menu/module/display/texture/Texture.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class Texture(
157157
this.material = Material::class.java.invokeMethod<Material>(
158158
"getMaterial",
159159
id.toInt(),
160-
fixed = true
160+
isStatic = true
161161
)!!
162162
this.damage = data
163163
} catch (t: Throwable) {

0 commit comments

Comments
 (0)