Code cleanup, fixed doors, chunk entity fetching

This commit is contained in:
Tahg
2011-03-11 16:25:35 -05:00
parent 786fdfb9fe
commit 078f48c0fb
17 changed files with 61 additions and 52 deletions

View File

@@ -61,7 +61,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
}
public double getEyeHeight(boolean ignoreSneaking) {
if(ignoreSneaking) {
if (ignoreSneaking) {
return 1.62D;
} else {
if (isSneaking()) {

View File

@@ -19,7 +19,7 @@ public abstract class CraftVehicle extends CraftEntity implements Vehicle {
}
public boolean setPassenger(Entity passenger) {
if(passenger instanceof CraftEntity){
if (passenger instanceof CraftEntity){
((CraftEntity)passenger).getHandle().setPassengerOf(getHandle());
return true;
} else {