mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-13 15:16:50 +01:00
Fix falling block disguise
This commit is contained in:
parent
5435df78de
commit
86a757626b
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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])));
|
||||
|
Loading…
Reference in New Issue
Block a user