aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/utils/Utils.java
diff options
context:
space:
mode:
authorSychic <47618543+Sychic@users.noreply.github.com>2020-12-11 19:18:35 -0500
committerGitHub <noreply@github.com>2020-12-11 19:18:35 -0500
commit9488d8e42e2b02cba21ada4dd6b452ef671303f5 (patch)
treeec55f0654b3d0ab3564bd2b997c82003607dd966 /src/main/java/me/Danker/utils/Utils.java
parentf04296de38493e1eb00a9e6351a0b821b3c0fff1 (diff)
parent47910bc70961bd39d43cfdcbee103949559459c1 (diff)
downloadSkyblockMod-9488d8e42e2b02cba21ada4dd6b452ef671303f5.tar.gz
SkyblockMod-9488d8e42e2b02cba21ada4dd6b452ef671303f5.tar.bz2
SkyblockMod-9488d8e42e2b02cba21ada4dd6b452ef671303f5.zip
Merge branch 'development' into development
Diffstat (limited to 'src/main/java/me/Danker/utils/Utils.java')
-rw-r--r--src/main/java/me/Danker/utils/Utils.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/Danker/utils/Utils.java b/src/main/java/me/Danker/utils/Utils.java
index fbd8e4c..e4f7873 100644
--- a/src/main/java/me/Danker/utils/Utils.java
+++ b/src/main/java/me/Danker/utils/Utils.java
@@ -64,7 +64,7 @@ public class Utils {
}
public static String returnGoldenEnchants(String line) {
- Matcher matcher = DankersSkyblockMod.pattern.matcher(line);
+ Matcher matcher = DankersSkyblockMod.t6EnchantPattern.matcher(line);
StringBuffer out = new StringBuffer();
while (matcher.find()) {
@@ -280,7 +280,7 @@ public class Utils {
GlStateManager.disableAlpha();
GlStateManager.tryBlendFuncSeparate(770, 771, 1, 0);
GL11.glLineWidth(2);
- GlStateManager.color(colour.getRed() / 255f, colour.getGreen() / 255f, colour.getBlue()/ 255f, colour.getAlpha() / 255f);
+ GlStateManager.color(colour.getRed() / 255f, colour.getGreen() / 255f, colour.getBlue() / 255f, colour.getAlpha() / 255f);
worldRenderer.begin(GL11.GL_LINE_STRIP, DefaultVertexFormats.POSITION);
worldRenderer.pos(pos1.xCoord, pos1.yCoord, pos1.zCoord).endVertex();