3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-24 07:10:10 +01:00

Revert obsolete "fix" for Redstone Torches

Dieser Commit ist enthalten in:
feildmaster 2012-05-14 20:51:20 -05:00 committet von EvilSeph
Ursprung 41b2e89c70
Commit b6d611d9be

Datei anzeigen

@ -440,15 +440,12 @@ public class World implements IBlockAccess {
} }
public boolean setTypeIdAndData(int i, int j, int k, int l, int i1) { 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)) { 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; return true;
} else { } else {
return false; return false;
} }
// CraftBukkit end
} }
public void notify(int i, int j, int k) { public void notify(int i, int j, int k) {