Skip to content

Commit 2fbe769

Browse files
author
yonezu
committed
Oops
1 parent e852c73 commit 2fbe769

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

src/main/java/com/jelly/CaneBuilder/utils/InventoryUtils.java

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,11 @@ public static int getRancherBootSpeed() {
2424
int speed = -1;
2525
if (stack != null && stack.hasTagCompound()) {
2626
final NBTTagCompound tag = stack.getTagCompound();
27-
<<<<<<< HEAD
28-
Utils.addCustomMessage(tag.toString());
29-
if (tag.hasKey("ExtraAttributes")) {
30-
final NBTTagCompound ea = tag.getCompoundTag("ExtraAttributes");
31-
if (ea.hasKey("ranchers_speed")){
32-
return ea.getInteger("ranchers_speed");
33-
=======
3427
final Pattern pattern = Pattern.compile("(Current Speed Cap: §a\\d+)", Pattern.MULTILINE);
3528
final Matcher matcher = pattern.matcher(tag.toString());
3629
while (matcher.find()) {
3730
if (matcher.group(0) != null) {
3831
speed = Integer.parseInt((matcher.group(0).replaceAll("Current Speed Cap: §a" ,"")));
39-
>>>>>>> 64f5f078b38ac0c844d7afc761ed0e5e400fb22d
4032
}
4133
}
4234
}
@@ -194,4 +186,4 @@ public static void clickWindow(int windowID, int slotID, int mouseButtonClicked,
194186
throw new Exception();
195187
}
196188
}
197-
}
189+
}

0 commit comments

Comments
 (0)