mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 13:36:33 +01:00
Fix start and teleport signs; resolves #403
This commit is contained in:
parent
e2456f360b
commit
27307471e3
@ -50,6 +50,7 @@ public class TeleportSign extends LocationSign {
|
||||
|
||||
@Override
|
||||
public void onInit() {
|
||||
super.onInit();
|
||||
for (int i = 1; i <= 2; i++) {
|
||||
if (!lines[i].isEmpty()) {
|
||||
int yaw = letterToYaw(lines[i].charAt(0));
|
||||
|
@ -61,6 +61,7 @@ public class StartSign extends LocationSign {
|
||||
|
||||
@Override
|
||||
public void onInit() {
|
||||
super.onInit();
|
||||
id = NumberUtil.parseInt(lines[1]);
|
||||
getSign().getBlock().setType(VanillaItem.AIR.getMaterial());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user