remove dumb stuff

This commit is contained in:
hyperdefined
2022-10-04 12:59:16 -04:00
parent f6d35c459c
commit cbbdb4e9c4
9 changed files with 0 additions and 11 deletions

View File

@@ -93,7 +93,6 @@ public class BlocksMined implements Listener {
List<String> lore;
if (meta.hasLore()) {
lore = meta.getLore();
assert lore != null;
boolean hasLore = false;
// we do a for loop like this, we can keep track of index
// this doesn't mess the lore up of existing items

View File

@@ -121,7 +121,6 @@ public class CraftItem implements Listener {
// get the current lore the item
if (meta.hasLore()) {
lore = meta.getLore();
assert lore != null;
} else {
lore = new ArrayList<>();
}

View File

@@ -240,7 +240,6 @@ public class EntityDamage implements Listener {
List<String> lore;
if (meta.hasLore()) {
lore = meta.getLore();
assert lore != null;
boolean hasLore = false;
// we do a for loop like this, we can keep track of index
// this doesn't mess the lore up of existing items
@@ -303,7 +302,6 @@ public class EntityDamage implements Listener {
List<String> lore;
if (meta.hasLore()) {
lore = meta.getLore();
assert lore != null;
boolean hasLore = false;
// we do a for loop like this, we can keep track of index
// this doesn't mess the lore up of existing items
@@ -365,7 +363,6 @@ public class EntityDamage implements Listener {
List<String> lore;
if (meta.hasLore()) {
lore = meta.getLore();
assert lore != null;
boolean hasLore = false;
// we do a for loop like this, we can keep track of index
// this doesn't mess the lore up of existing items

View File

@@ -79,7 +79,6 @@ public class EntityDeath implements Listener {
List<String> lore;
if (meta.hasLore()) {
lore = meta.getLore();
assert lore != null;
for (int x = 0; x < lore.size(); x++) {
if (lore.get(x).contains(droppedByLore)) {
// replace existing tag

View File

@@ -155,7 +155,6 @@ public class GenerateLoot implements Listener {
List<String> lore;
if (meta.hasLore()) {
lore = meta.getLore();
assert lore != null;
} else {
lore = new ArrayList<>();
}

View File

@@ -104,7 +104,6 @@ public class PickupItem implements Listener {
List<String> lore;
if (meta.hasLore()) {
lore = meta.getLore();
assert lore != null;
} else {
lore = new ArrayList<>();
}

View File

@@ -105,7 +105,6 @@ public class PlayerFish implements Listener {
List<String> lore;
if (meta.hasLore()) {
lore = meta.getLore();
assert lore != null;
boolean hasLore = false;
// we do a for loop like this, we can keep track of index
// this doesn't mess the lore up of existing items

View File

@@ -101,7 +101,6 @@ public class SheepShear implements Listener {
List<String> lore;
if (meta.hasLore()) {
lore = meta.getLore();
assert lore != null;
boolean hasLore = false;
// we do a for loop like this, we can keep track of index
// this doesn't mess the lore up of existing items

View File

@@ -118,7 +118,6 @@ public class VillagerTrade implements Listener {
List<String> lore;
if (meta.hasLore()) {
lore = meta.getLore();
assert lore != null;
} else {
lore = new ArrayList<>();
}