Skip to content

Commit

Permalink
Fix #31: multiple users in same stock
Browse files Browse the repository at this point in the history
  • Loading branch information
cam72cam committed Sep 10, 2017
1 parent 170584d commit 143838c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void rollingStockInit() {
public boolean processInitialInteract(EntityPlayer player, EnumHand hand) {
if (player.isSneaking()) {
return false;
} else if (this.isBeingRidden()) {
} else if (player.isRidingOrBeingRiddenBy(this)) {
return false;
} else {
if (!this.world.isRemote) {
Expand Down

0 comments on commit 143838c

Please sign in to comment.