This commit is contained in:
gnembon committed 2024-10-30 23:16:29 +01:00
1 parent aea914430a
commit 0bf2b5b862
9 files changed
+28 -28

No files matched your search

@@ -151,7 +151,7 @@ public class WorldAccess
private static final Map<String, TicketType<?>> ticketTypes = Map.of(
"portal", TicketType.PORTAL,
"teleport", TicketType.POST_TELEPORT,
"teleport", TicketType.ENDER_PEARL,
"unknown", TicketType.UNKNOWN
);
// dummy entity for dummy requirements in the loot tables (see snowball)
@@ -1694,9 +1694,9 @@ public class WorldAccess
{
cc.level().getChunkSource().addRegionTicket(TicketType.PORTAL, target, radius, pos);
}
else if (ticket == TicketType.POST_TELEPORT) // post teleport
else if (ticket == TicketType.ENDER_PEARL) // post teleport
{
cc.level().getChunkSource().addRegionTicket(TicketType.POST_TELEPORT, target, radius, 1);
cc.level().getChunkSource().addRegionTicket(TicketType.ENDER_PEARL, target, radius, target);
}
else
{