Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
Merge pull request #857 from PureGero/dev
Skulls don't have 'Rot'; Painting names
Dieser Commit ist enthalten in:
Commit
4e1ab821e1
@ -28,14 +28,14 @@ public class PaintingProvider implements Provider {
|
||||
add("bust");
|
||||
add("stage");
|
||||
add("void");
|
||||
add("skull_and_roses");
|
||||
add("skullandroses");
|
||||
add("wither");
|
||||
add("fighters");
|
||||
add("pointer");
|
||||
add("pigscene");
|
||||
add("burning_skull");
|
||||
add("burningskull");
|
||||
add("skeleton");
|
||||
add("donkey_kong");
|
||||
add("donkeykong");
|
||||
}
|
||||
|
||||
private void add(String motive) {
|
||||
|
@ -23,7 +23,10 @@ public class SkullHandler implements BlockEntityProvider.BlockEntityHandler {
|
||||
int id = storage.get(position).getOriginal();
|
||||
|
||||
if (id >= SKULL_WALL_START && id <= SKULL_END) {
|
||||
id += (byte) tag.get("SkullType").getValue() * 20 + (byte) tag.get("Rot").getValue();
|
||||
id += (byte) tag.get("SkullType").getValue() * 20;
|
||||
if (tag.contains("Rot")) {
|
||||
id += (byte) tag.get("Rot").getValue();
|
||||
}
|
||||
} else {
|
||||
System.out.println("Why does this block have the skull block entity? :(" + tag);
|
||||
return -1;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren