Add SKULL to BlockUtil blacklist

Prevents activating skills when right-clicking skulls, a block often used by plugins like Slimefun for custom-textured blocks.
This commit is contained in:
BlackBeltPanda 2018-05-05 00:34:51 -04:00 committed by GitHub
parent 29c55312a5
commit f1a71ed118
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,6 +104,7 @@ public final class BlockUtils {
case SILVER_SHULKER_BOX : case SILVER_SHULKER_BOX :
case WHITE_SHULKER_BOX : case WHITE_SHULKER_BOX :
case YELLOW_SHULKER_BOX : case YELLOW_SHULKER_BOX :
case SKULL :
return false; return false;
default : default :