Fix torch direction
This commit is contained in:
parent
d37396716f
commit
9f1bf51467
@ -251,7 +251,6 @@ public class FaweAPI {
|
||||
case 47:
|
||||
case 48:
|
||||
case 49:
|
||||
case 50:
|
||||
case 51:
|
||||
case 55:
|
||||
case 56:
|
||||
@ -265,8 +264,6 @@ public class FaweAPI {
|
||||
case 11:
|
||||
case 73:
|
||||
case 74:
|
||||
case 75:
|
||||
case 76:
|
||||
case 78:
|
||||
case 79:
|
||||
case 80:
|
||||
|
@ -131,10 +131,8 @@ public class BukkitChunk_1_8 extends FaweChunk<Chunk> {
|
||||
case 11:
|
||||
case 39:
|
||||
case 40:
|
||||
case 50:
|
||||
case 51:
|
||||
case 74:
|
||||
case 76:
|
||||
case 89:
|
||||
case 122:
|
||||
case 124:
|
||||
@ -168,7 +166,7 @@ public class BukkitChunk_1_8 extends FaweChunk<Chunk> {
|
||||
case 8:
|
||||
case 9:
|
||||
case 73:
|
||||
case 75:
|
||||
|
||||
case 78:
|
||||
case 79:
|
||||
case 80:
|
||||
@ -203,6 +201,7 @@ public class BukkitChunk_1_8 extends FaweChunk<Chunk> {
|
||||
vs[j] = (char) (id << 4);
|
||||
return;
|
||||
case 130:
|
||||
case 76:
|
||||
case 62:
|
||||
relight[i]++;
|
||||
case 54:
|
||||
@ -210,6 +209,7 @@ public class BukkitChunk_1_8 extends FaweChunk<Chunk> {
|
||||
case 61:
|
||||
case 65:
|
||||
case 68:
|
||||
case 50:
|
||||
if (data < 2) {
|
||||
data = 2;
|
||||
}
|
||||
|
@ -91,7 +91,6 @@ public class BukkitEditSessionWrapper_1_8 extends BukkitEditSessionWrapper_0 {
|
||||
case 47:
|
||||
case 48:
|
||||
case 49:
|
||||
case 50:
|
||||
case 51:
|
||||
case 52:
|
||||
case 54:
|
||||
@ -109,8 +108,6 @@ public class BukkitEditSessionWrapper_1_8 extends BukkitEditSessionWrapper_0 {
|
||||
case 11:
|
||||
case 73:
|
||||
case 74:
|
||||
case 75:
|
||||
case 76:
|
||||
case 78:
|
||||
case 79:
|
||||
case 80:
|
||||
|
@ -236,7 +236,6 @@ public class FaweGenerator_1_8 extends ChunkGenerator implements Listener {
|
||||
case 47:
|
||||
case 48:
|
||||
case 49:
|
||||
case 50:
|
||||
case 51:
|
||||
case 55:
|
||||
case 56:
|
||||
@ -250,8 +249,6 @@ public class FaweGenerator_1_8 extends ChunkGenerator implements Listener {
|
||||
case 11:
|
||||
case 73:
|
||||
case 74:
|
||||
case 75:
|
||||
case 76:
|
||||
case 78:
|
||||
case 79:
|
||||
case 80:
|
||||
|
@ -43,7 +43,7 @@ public class FixLighting extends FaweCommand {
|
||||
for (int x = minX; x <= maxX; x++) {
|
||||
for (int z = minZ; z <= maxZ; z++) {
|
||||
ChunkLoc cl = new ChunkLoc(loc.world, x, z);
|
||||
FaweAPI.fixLighting(new ChunkLoc(loc.world, x >> 4, z >> 4), Settings.FIX_ALL_LIGHTING);
|
||||
FaweAPI.fixLighting(cl, Settings.FIX_ALL_LIGHTING);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
@ -91,7 +91,6 @@ public class LoggingExtent extends AbstractDelegateExtent {
|
||||
case 47:
|
||||
case 48:
|
||||
case 49:
|
||||
case 50:
|
||||
case 51:
|
||||
case 52:
|
||||
case 54:
|
||||
@ -109,8 +108,6 @@ public class LoggingExtent extends AbstractDelegateExtent {
|
||||
case 11:
|
||||
case 73:
|
||||
case 74:
|
||||
case 75:
|
||||
case 76:
|
||||
case 78:
|
||||
case 79:
|
||||
case 80:
|
||||
|
@ -59,8 +59,13 @@ public class FastWorldEditExtent extends AbstractDelegateExtent {
|
||||
return lastBlock;
|
||||
}
|
||||
if (!SetQueue.IMP.isChunkLoaded(world, position.getBlockX() >> 4, position.getBlockZ() >> 4)) {
|
||||
try {
|
||||
lastVector = position.toBlockVector();
|
||||
return lastBlock = super.getBlock(position);
|
||||
} catch (Throwable e) {
|
||||
return EditSession.nullBlock;
|
||||
}
|
||||
}
|
||||
synchronized (thread) {
|
||||
lastVector = position.toBlockVector();
|
||||
return lastBlock = super.getBlock(position);
|
||||
@ -121,7 +126,6 @@ public class FastWorldEditExtent extends AbstractDelegateExtent {
|
||||
case 47:
|
||||
case 48:
|
||||
case 49:
|
||||
case 50:
|
||||
case 51:
|
||||
case 52:
|
||||
case 54:
|
||||
@ -139,8 +143,6 @@ public class FastWorldEditExtent extends AbstractDelegateExtent {
|
||||
case 11:
|
||||
case 73:
|
||||
case 74:
|
||||
case 75:
|
||||
case 76:
|
||||
case 78:
|
||||
case 79:
|
||||
case 80:
|
||||
|
@ -76,7 +76,6 @@ public class HistoryExtent extends AbstractDelegateExtent {
|
||||
case 47:
|
||||
case 48:
|
||||
case 49:
|
||||
case 50:
|
||||
case 51:
|
||||
case 52:
|
||||
case 54:
|
||||
@ -94,8 +93,6 @@ public class HistoryExtent extends AbstractDelegateExtent {
|
||||
case 11:
|
||||
case 73:
|
||||
case 74:
|
||||
case 75:
|
||||
case 76:
|
||||
case 78:
|
||||
case 79:
|
||||
case 80:
|
||||
|
@ -96,8 +96,13 @@ public class ProcessedWEExtent extends AbstractDelegateExtent {
|
||||
return lastBlock;
|
||||
}
|
||||
if (!SetQueue.IMP.isChunkLoaded(world, position.getBlockX() >> 4, position.getBlockZ() >> 4)) {
|
||||
try {
|
||||
lastVector = position.toBlockVector();
|
||||
return lastBlock = super.getBlock(position);
|
||||
} catch (Throwable e) {
|
||||
return EditSession.nullBlock;
|
||||
}
|
||||
}
|
||||
synchronized (thread) {
|
||||
lastVector = position.toBlockVector();
|
||||
return lastBlock = super.getLazyBlock(position);
|
||||
@ -218,7 +223,6 @@ public class ProcessedWEExtent extends AbstractDelegateExtent {
|
||||
case 47:
|
||||
case 48:
|
||||
case 49:
|
||||
case 50:
|
||||
case 51:
|
||||
case 52:
|
||||
case 54:
|
||||
@ -236,8 +240,6 @@ public class ProcessedWEExtent extends AbstractDelegateExtent {
|
||||
case 11:
|
||||
case 73:
|
||||
case 74:
|
||||
case 75:
|
||||
case 76:
|
||||
case 78:
|
||||
case 79:
|
||||
case 80:
|
||||
|
Loading…
Reference in New Issue
Block a user