mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-27 15:23:06 +00:00
Spring Cleaning (#127)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
1544c1bf0d
commit
3b2b31f733
413 files changed
+9272
-17658
No files matched your search
@@ -9,7 +9,7 @@ import net.minecraft.world.World;
|
||||
|
||||
public abstract class SpellParadigm {
|
||||
|
||||
protected List<SpellEffect> bufferedEffectList = new LinkedList();
|
||||
protected List<SpellEffect> bufferedEffectList = new LinkedList<>();
|
||||
|
||||
public void addBufferedEffect(SpellEffect effect) {
|
||||
if (effect != null) {
|
||||
@@ -55,7 +55,7 @@ public abstract class SpellParadigm {
|
||||
if (bufferedEffectList.isEmpty()) {
|
||||
return null;
|
||||
} else {
|
||||
return bufferedEffectList.get(bufferedEffectList.size() - 1);
|
||||
return bufferedEffectList.getLast();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user