From 9e046fa098cc4ae74a94e2d49e1fab3f6cfc8290 Mon Sep 17 00:00:00 2001 From: youhavetrouble Date: Sun, 23 Jul 2023 00:44:59 +0200 Subject: [PATCH] scale, not offset --- .../java/me/youhavetrouble/notjustnameplates/NJNConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/youhavetrouble/notjustnameplates/NJNConfig.java b/src/main/java/me/youhavetrouble/notjustnameplates/NJNConfig.java index 6609deb..2567032 100644 --- a/src/main/java/me/youhavetrouble/notjustnameplates/NJNConfig.java +++ b/src/main/java/me/youhavetrouble/notjustnameplates/NJNConfig.java @@ -99,7 +99,7 @@ public class NJNConfig { String backgroundColor = frameSection.getString("background"); float scaleX = (float) frameSection.getDouble("scale-x", 1); float scaleY = (float) frameSection.getDouble("scale-y", 1); - float scaleZ = (float) frameSection.getDouble("offset-z", 1); + float scaleZ = (float) frameSection.getDouble("scale-z", 1); displayContent.addFrame(new DisplayFrame(text, colorFromHex(backgroundColor), scaleX, scaleY, scaleZ)); }); Permission permission = new Permission("notjustnameplates.display." + displayContentSection.getName(), "Allows player to use " + displayContentSection.getName() + " nameplate", PermissionDefault.FALSE);