diff -r -U 3 minecraft\net\minecraft\item\ItemSlab.java minecraft_patched\net\minecraft\item\ItemSlab.java
--- minecraft\net\minecraft\item\ItemSlab.java
+++ minecraft_patched\net\minecraft\item\ItemSlab.java
@@ -105,6 +105,6 @@
    }
 
    protected <T extends Comparable<T>> IBlockState func_185055_a(IProperty<T> p_185055_1_, Comparable<?> p_185055_2_) {
-      return this.field_179226_c.func_176223_P().func_177226_a(p_185055_1_, p_185055_2_);
+      return this.field_179226_c.func_176223_P().func_177226_a(p_185055_1_, (T)p_185055_2_);
    }
 }
