Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add missing minecart types to set_entity_spec()
  • Loading branch information
PseudoKnight committed Dec 16, 2020
1 parent bd2bfd0 commit af47c7d
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -2959,6 +2959,10 @@ public Mixed exec(Target t, Environment environment, Mixed... args) throws Confi
}
break;
case MINECART:
case MINECART_FURNACE:
case MINECART_HOPPER:
case MINECART_MOB_SPAWNER:
case MINECART_TNT:
MCMinecart minecart = (MCMinecart) entity;
for(String index : specArray.stringKeySet()) {
switch(index.toLowerCase()) {
Expand Down

0 comments on commit af47c7d

Please sign in to comment.