Disable POI patch for now
This commit is contained in:
parent
81079a8565
commit
5ce88f7916
@ -264,7 +264,8 @@ object MRegistry : IBlockItemRegistryAcceptor {
|
||||
private fun registerEvent(event: RegisterEvent) {
|
||||
// mojang moment
|
||||
|
||||
if (event.registryKey == Registries.POINT_OF_INTEREST_TYPE) {
|
||||
// FIXME
|
||||
/*if (event.registryKey == Registries.POINT_OF_INTEREST_TYPE) {
|
||||
val reg = event.registry as Registry<PoiType>
|
||||
|
||||
event.register(Registries.POINT_OF_INTEREST_TYPE, PoiTypes.BUTCHER.location()) {
|
||||
@ -276,7 +277,7 @@ object MRegistry : IBlockItemRegistryAcceptor {
|
||||
val old = reg[PoiTypes.ARMORER] ?: throw IllegalStateException("POI with type ${PoiTypes.ARMORER} does not exist")
|
||||
PoiType(Streams.concat(old.matchingStates.stream(), MBlocks.POWERED_BLAST_FURNACE.values.stream().flatMap { it.stateDefinition.possibleStates.stream() }).collect(ImmutableSet.toImmutableSet()), old.maxTickets, old.validRange)
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
fun initialize(bus: IEventBus) {
|
||||
|
Loading…
Reference in New Issue
Block a user