mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 13:07:06 +01:00
Revert obsolete "fix" for Redstone Torches
This commit is contained in:
parent
41b2e89c70
commit
b6d611d9be
1 changed files with 1 additions and 4 deletions
|
@ -440,15 +440,12 @@ public class World implements IBlockAccess {
|
|||
}
|
||||
|
||||
public boolean setTypeIdAndData(int i, int j, int k, int l, int i1) {
|
||||
// CraftBukkit start
|
||||
int old = this.getTypeId(i, j, k);
|
||||
if (this.setRawTypeIdAndData(i, j, k, l, i1)) {
|
||||
this.update(i, j, k, l == 0 ? old : l);
|
||||
this.update(i, j, k, l);
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
// CraftBukkit end
|
||||
}
|
||||
|
||||
public void notify(int i, int j, int k) {
|
||||
|
|
Loading…
Reference in a new issue