Skip to content

Commit

Permalink
Fully fix Easy Place's Black List
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Jan 18, 2025
1 parent 211cf43 commit 51ac5ff
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,21 +241,13 @@ public static <T extends Comparable<T>> BlockState applyPlacementProtocolV3(Bloc
{
//System.out.printf("[PHv3] check property [%s], whitelisted [%s], blacklisted [%s]\n", p.getName(), WHITELISTED_PROPERTIES.contains(p), BLACKLISTED_PROPERTIES.contains(p));

if ((property.isPresent() && !property.get().equals(p)) ||
(property.isEmpty()) &&
WHITELISTED_PROPERTIES.contains(p))
//WHITELISTED_PROPERTIES.contains(p) &&
//!BLACKLISTED_PROPERTIES.contains(p))

/*
if (property.isPresent() && property.get().equals(p))
{
//System.out.printf("[PHv3] skipping prot val: 0x%08X [Property %s]\n", protocolValue, p.getName());
continue;
}
else if (WHITELISTED_PROPERTIES.contains(p) &&
!BLACKLISTED_PROPERTIES.contains(p))
*/
{
@SuppressWarnings("unchecked")
Property<T> prop = (Property<T>) p;
Expand Down

0 comments on commit 51ac5ff

Please sign in to comment.