Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-17 00:20:09 +01:00
Add for 1.21
Dieser Commit ist enthalten in:
Ursprung
5208cd122f
Commit
f0f9316d76
@ -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() {
|
||||||
|
@ -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
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren