Small Cleanup (#518)

* Deobfuscate parameters

* Fix generics

* Replace deprecated methods

* Add `serialVersionUID`s

* Fix static access

* Add default switch case

* Close OutputStreams

* Fix wrong variable usage

* Explicitly declare exceptions
This commit is contained in:
glowredman authored and GitHub committed 2024-08-29 20:07:14 +02:00
1 parent 2507634196
commit 165afa2910
31 files changed
+42 -59

No files matched your search

@@ -1294,8 +1294,7 @@ public class BookmarkPanel extends PanelWidget {
RenderHelper.enableGUIStandardItemLighting();
GL11.glEnable(GL12.GL_RESCALE_NORMAL);
GL11.glDisable(GL11.GL_DEPTH_TEST);
@SuppressWarnings("unchecked")
List<Slot> slots = (List<Slot>) this.gui.slotcontainer.inventorySlots;
List<Slot> slots = this.gui.slotcontainer.inventorySlots;
for (Slot slot : slots) {
if (slot != null && slot.getStack() != null) {