mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 00:19:05 +00:00
IDBCPlayer:
-Items can be set in vanity or armor slots, based on a "vanity" boolean value in setItem(). ISkinOverlay: -Renamed setScale to setTextureScale.
This commit is contained in:
1 parent
3f8910f5bd
commit
1ca5a306fc
5 files changed
+20
-18
No files matched your search
@@ -71,15 +71,15 @@ public class SkinOverlay implements ISkinOverlay {
|
||||
return size;
|
||||
}
|
||||
|
||||
public void setScale(float scaleX, float scaleY) {
|
||||
public void setTextureScale(float scaleX, float scaleY) {
|
||||
this.scaleX = scaleX;
|
||||
this.scaleY = scaleY;
|
||||
this.updateClient();
|
||||
}
|
||||
public float getScaleX() {
|
||||
public float getTextureScaleX() {
|
||||
return scaleX;
|
||||
}
|
||||
public float getScaleY() {
|
||||
public float getTextureScaleY() {
|
||||
return scaleY;
|
||||
}
|
||||
|
||||
@@ -142,8 +142,8 @@ public class SkinOverlay implements ISkinOverlay {
|
||||
compound.setFloat("SkinOverlaySize", this.getSize());
|
||||
compound.setFloat("SkinOverlaySpeedX", this.getSpeedX());
|
||||
compound.setFloat("SkinOverlaySpeedY", this.getSpeedY());
|
||||
compound.setFloat("SkinOverlayScaleX", this.getScaleX());
|
||||
compound.setFloat("SkinOverlayScaleY", this.getScaleY());
|
||||
compound.setFloat("SkinOverlayScaleX", this.getTextureScaleX());
|
||||
compound.setFloat("SkinOverlayScaleY", this.getTextureScaleY());
|
||||
compound.setFloat("SkinOverlayOffsetX", this.getOffsetX());
|
||||
compound.setFloat("SkinOverlayOffsetY", this.getOffsetY());
|
||||
compound.setFloat("SkinOverlayOffsetZ", this.getOffsetZ());
|
||||
|
||||
Reference in new issue
Block a user