Update CraftBukkit to 1.6.1
This commit is contained in:
committed by
Wesley Wolfe
parent
f887b76a25
commit
6c09066e22
@@ -37,7 +37,7 @@ public class BlockPressurePlateBinary extends BlockPressurePlateAbstract {
|
||||
list = world.a(EntityHuman.class, this.a(i, j, k));
|
||||
}
|
||||
|
||||
if (!list.isEmpty()) {
|
||||
if (list != null && !list.isEmpty()) {
|
||||
Iterator iterator = list.iterator();
|
||||
|
||||
while (iterator.hasNext()) {
|
||||
@@ -63,7 +63,7 @@ public class BlockPressurePlateBinary extends BlockPressurePlateAbstract {
|
||||
}
|
||||
// CraftBukkit end
|
||||
|
||||
if (!entity.at()) {
|
||||
if (!entity.as()) {
|
||||
return 15;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user