Fix falling block disguise

This commit is contained in:
libraryaddict 2020-08-27 15:57:11 +12:00
parent 5435df78de
commit 86a757626b
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<!-- A good example on why temporary names for project identification shouldn't be used -->
<groupId>LibsDisguises</groupId>
<artifactId>LibsDisguises</artifactId>
<version>10.0.16</version>
<version>10.0.16-SNAPSHOT</version>
<build>
<defaultGoal>exec:java clean install</defaultGoal>

View File

@ -799,7 +799,7 @@ public class DisguiseParser {
try {
if (disguisePerm.getType() == DisguiseType.FALLING_BLOCK) {
if (NmsVersion.v1_13.isSupported()) {
if (NmsVersion.v1_13.isSupported() && args[1].contains("[")) {
info = ParamInfoManager.getParamInfo(BlockData.class);
blockData = info.fromString(
new ArrayList<>(Collections.singletonList(args[1])));