From ce92d564f4b5b7b912a5aba1538e30eb9c0830d0 Mon Sep 17 00:00:00 2001
From: Electroblob77 <35599699+Electroblob77@users.noreply.github.com>
Date: Thu, 4 Jun 2020 23:16:43 +0100
Subject: [PATCH] Cleanup
---
.../java/electroblob/wizardry/util/WizardryUtilities.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/electroblob/wizardry/util/WizardryUtilities.java b/src/main/java/electroblob/wizardry/util/WizardryUtilities.java
index fecd9f34..272132aa 100644
--- a/src/main/java/electroblob/wizardry/util/WizardryUtilities.java
+++ b/src/main/java/electroblob/wizardry/util/WizardryUtilities.java
@@ -175,7 +175,7 @@ public final class WizardryUtilities {
* @param source The block state to copy property values from
* @return The resulting block state
*/
- @SuppressWarnings("unchecked") // Don't complain to me about Mojang's code design...
+ @SuppressWarnings({"unchecked", "rawtypes"}) // Don't complain to me about Mojang's code design...
public static IBlockState copyState(Block block, IBlockState source){
IBlockState state = block.getDefaultState();
@@ -232,7 +232,7 @@ public final class WizardryUtilities {
/**
* A {@code SurfaceCriteria} object is used to define a 'surface', a boundary between two blocks which differ in
* some way, for use in {@link WizardryUtilities#getNearestSurface(World, BlockPos, EnumFacing, int, boolean, SurfaceCriteria)}.
- * This provides a more flexible replacement for the (now deprecated) {@code getNearestFloorLevel} methods.
+ * This provides a more flexible replacement for the old {@code getNearestFloorLevel} methods.
*
* In the context of this class, 'outside' refers to the side of the surface that is in the supplied direction,
* and 'inside' refers to the side which is in the opposite direction. For example, if the direction is {@code UP},