Compare commits

...

2 Commits
1.6.2 ... 1.6.3

Author SHA1 Message Date
hyperdefined
72e869d5e2 Update pom.xml 2023-05-22 20:22:02 -04:00
hyperdefined
300fe56c5a use continue here, not return
closes #33
2023-05-22 20:21:16 -04:00
2 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@
<groupId>lol.hyper</groupId>
<artifactId>toolstats</artifactId>
<version>1.6.2</version>
<version>1.6.3</version>
<packaging>jar</packaging>
<name>ToolStats</name>

View File

@@ -56,7 +56,7 @@ public class ChunkPopulate implements Listener {
for (Entity entity : chunk.getEntities()) {
// if there is a new item frame
if (!(entity instanceof ItemFrame)) {
return;
continue;
}
ItemFrame itemFrame = (ItemFrame) entity;
// if the item frame has an elytra
@@ -64,7 +64,7 @@ public class ChunkPopulate implements Listener {
ItemStack elytraCopy = itemFrame.getItem();
ItemMeta meta = elytraCopy.getItemMeta();
if (meta == null) {
return;
continue;
}
// add the new tag so we know it's new
PersistentDataContainer container = meta.getPersistentDataContainer();