12 lines
650 B
Diff
12 lines
650 B
Diff
--- ../src-base/minecraft/net/minecraft/block/BlockEnchantmentTable.java
|
|
+++ ../src-work/minecraft/net/minecraft/block/BlockEnchantmentTable.java
|
|
@@ -63,7 +63,7 @@
|
|
{
|
|
BlockPos blockpos = p_180655_3_.func_177982_a(i, k, j);
|
|
|
|
- if (p_180655_2_.func_180495_p(blockpos).func_177230_c() == Blocks.field_150342_X)
|
|
+ if (net.minecraftforge.common.ForgeHooks.getEnchantPower(p_180655_2_, blockpos) > 0)
|
|
{
|
|
if (!p_180655_2_.func_175623_d(p_180655_3_.func_177982_a(i / 2, 0, j / 2)))
|
|
{
|