Skip to content

Commit

Permalink
fix: Easy Place V3 for AXIS blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Dec 17, 2024
1 parent 2db36f8 commit 142b41c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ public static <T extends Comparable<T>> BlockState applyPlacementProtocolV3(Bloc
{
for (Property<?> p : propList)
{
//if (((p instanceof EnumProperty<?> ep) && ep.getType().equals(Direction.class) == false) &&
if (property.isPresent() && !property.get().equals(p) &&
if ((property.isPresent() && !property.get().equals(p)) ||
(property.isEmpty()) &&
WHITELISTED_PROPERTIES.contains(p))
{
@SuppressWarnings("unchecked")
Expand Down

0 comments on commit 142b41c

Please sign in to comment.