mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-09-29 15:07:29 +02:00
Added TacoSpigot to the block place fix. (#437)
TacoSpigot is a fork of PaperSpigot that people use.
This commit is contained in:
parent
a76dd1ba49
commit
27d6c12556
@ -98,8 +98,8 @@ public class Protocol1_9TO1_8 extends Protocol {
|
|||||||
Bukkit.getPluginManager().registerEvents(new CommandBlockListener(plugin), plugin);
|
Bukkit.getPluginManager().registerEvents(new CommandBlockListener(plugin), plugin);
|
||||||
Bukkit.getPluginManager().registerEvents(new DeathListener(plugin), plugin);
|
Bukkit.getPluginManager().registerEvents(new DeathListener(plugin), plugin);
|
||||||
Bukkit.getPluginManager().registerEvents(new BlockListener(plugin), plugin);
|
Bukkit.getPluginManager().registerEvents(new BlockListener(plugin), plugin);
|
||||||
if (Bukkit.getVersion().toLowerCase().contains("paper")) {
|
if (Bukkit.getVersion().toLowerCase().contains("paper") || Bukkit.getVersion().toLowerCase().contains("taco")) {
|
||||||
plugin.getLogger().info("Enabling PaperSpigot patch: Fixes block placement.");
|
plugin.getLogger().info("Enabling PaperSpigot/TacoSpigot patch: Fixes block placement.");
|
||||||
Bukkit.getPluginManager().registerEvents(new PaperPatch(), plugin);
|
Bukkit.getPluginManager().registerEvents(new PaperPatch(), plugin);
|
||||||
}
|
}
|
||||||
if (plugin.getConf().isStimulatePlayerTick())
|
if (plugin.getConf().isStimulatePlayerTick())
|
||||||
|
Loading…
Reference in New Issue
Block a user