mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Fixed a minor bug with the Minecart Dictionary.
This commit is contained in:
1 parent
7db6897fa3
commit
3847292ef7
1 file changed
+1
-5
@@ -781,11 +781,7 @@ public class MinecraftForge
|
||||
*/
|
||||
public static ItemStack getItemForCart(EntityMinecart cart)
|
||||
{
|
||||
if (cart.getClass() == EntityMinecart.class)
|
||||
{
|
||||
return getItemForCart(cart.getClass(), cart.getMinecartType());
|
||||
}
|
||||
return getItemForCart(cart.getClass(), 0);
|
||||
return getItemForCart(cart.getClass(), cart.getMinecartType());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user