mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 08:39:58 +03:00
23 lines
605 B
Diff
23 lines
605 B
Diff
--- ../src-base/minecraft/net/minecraft/entity/item/EntityMinecartEmpty.java
|
|
+++ ../src-work/minecraft/net/minecraft/entity/item/EntityMinecartEmpty.java
|
|
@@ -24,6 +24,8 @@
|
|
|
|
public boolean processInitialInteract(EntityPlayer player, EnumHand hand)
|
|
{
|
|
+ if (super.processInitialInteract(player, hand)) return true;
|
|
+
|
|
if (player.isSneaking())
|
|
{
|
|
return false;
|
|
@@ -62,8 +64,8 @@
|
|
}
|
|
}
|
|
|
|
- public EntityMinecart.Type getType()
|
|
+ public Type getType()
|
|
{
|
|
- return EntityMinecart.Type.RIDEABLE;
|
|
+ return Type.RIDEABLE;
|
|
}
|
|
}
|