3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-19 17:30:08 +01:00
Dieser Commit ist enthalten in:
dordsor21 2024-06-30 09:59:43 +01:00
Ursprung 4664d62e52
Commit 80ea7b4408
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 1E53E88969FFCF0B
3 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -646,7 +646,7 @@ public final class PaperweightFaweAdapter extends FaweAdapter<net.minecraft.nbt.
} }
@Override @Override
public PlacementStateProcessor getPlatformPlacementProcessor(Extent extent, BlockTypeMask mask, Region region ) { public PlacementStateProcessor getPlatformPlacementProcessor(Extent extent, BlockTypeMask mask, Region region) {
return new PaperweightPlacementStateProcessor(extent, mask, region); return new PaperweightPlacementStateProcessor(extent, mask, region);
} }

Datei anzeigen

@ -20,8 +20,8 @@ import javax.annotation.Nullable;
public class PaperweightLevelProxy extends ServerLevel { public class PaperweightLevelProxy extends ServerLevel {
protected ServerLevel serverLevel; protected ServerLevel serverLevel;
private PaperweightFaweAdapter adapter;
private PaperweightPlacementStateProcessor processor; private PaperweightPlacementStateProcessor processor;
private PaperweightFaweAdapter adapter;
@SuppressWarnings("DataFlowIssue") @SuppressWarnings("DataFlowIssue")
private PaperweightLevelProxy() { private PaperweightLevelProxy() {

Datei anzeigen

@ -82,8 +82,8 @@ public class PaperweightPlacementStateProcessor extends PlacementStateProcessor
new BlockHitResult(pos, side, blockPos, false), new BlockHitResult(pos, side, blockPos, false),
side.getOpposite() side.getOpposite()
)); ));
return newState == null ? BlockTypesCache.ReservedIDs.AIR : return newState == null ? BlockTypesCache.ReservedIDs.AIR : adapter.ibdIDToOrdinal(Block.BLOCK_STATE_REGISTRY.getId(
adapter.ibdIDToOrdinal(Block.BLOCK_STATE_REGISTRY.getId(newState)); newState));
} }
@Override @Override