Skip to content

Instantly share code, notes, and snippets.

View OffenLord's full-sized avatar
いい天気だね~

cesarean OffenLord

いい天気だね~
View GitHub Profile
@Brian1KB
Brian1KB / AnvilProviderFactory.cs
Created July 4, 2017 20:57
This is a factory for efficiently creating anvil world providers that can be safely re-used
using System.Collections.Generic;
using MiNET;
using MiNET.Utils;
using MiNET.Worlds;
namespace Network
{
public class AnvilProviderFactory
{
private static readonly Dictionary<string, AnvilWorldProvider> ProviderCache = new Dictionary<string, AnvilWorldProvider>();