mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-26 10:59:43 -05:00
Update CraftBukkit to 1.6.1
This commit is contained in:
1 parent
f887b76a25
commit
6c09066e22
228 files changed
+6426
-5442
No files matched your search
@@ -76,7 +76,7 @@ public class BlockTripwire extends Block {
|
||||
|
||||
public void a(World world, int i, int j, int k, int l, EntityHuman entityhuman) {
|
||||
if (!world.isStatic) {
|
||||
if (entityhuman.cd() != null && entityhuman.cd().id == Item.SHEARS.id) {
|
||||
if (entityhuman.bt() != null && entityhuman.bt().id == Item.SHEARS.id) {
|
||||
world.setData(i, j, k, l | 8, 4);
|
||||
}
|
||||
}
|
||||
@@ -140,7 +140,7 @@ public class BlockTripwire extends Block {
|
||||
while (iterator.hasNext()) {
|
||||
Entity entity = (Entity) iterator.next();
|
||||
|
||||
if (!entity.at()) {
|
||||
if (!entity.as()) {
|
||||
flag1 = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user