Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 12:30:06 +01:00
15b553bed3
Fix double plants having the incorrect top half SpigotMC/Spigot@377b69d787 Fix boats thinking that they were always on land for 1.8 clients SpigotMC/Spigot@4a083f819e Correct the action used in updateGamemode. this isn't used by the ser... SpigotMC/Spigot@face904a9a Allow the updated version of protocollib to be enabled SpigotMC/Spigot@4614a615cc
34 Zeilen
1.7 KiB
Diff
34 Zeilen
1.7 KiB
Diff
From de4f4dd30cca12c86d93491af6543d91724e5951 Mon Sep 17 00:00:00 2001
|
|
From: md_5 <git@md-5.net>
|
|
Date: Mon, 1 Sep 2014 19:36:20 +1000
|
|
Subject: [PATCH] Skip loading of ProtocolLib and Orebfuscator.
|
|
|
|
As it does not work with Spigot 1.8 builds!
|
|
|
|
diff --git a/src/main/java/org/bukkit/plugin/SimplePluginManager.java b/src/main/java/org/bukkit/plugin/SimplePluginManager.java
|
|
index 1d51908..9e5d4fd 100644
|
|
--- a/src/main/java/org/bukkit/plugin/SimplePluginManager.java
|
|
+++ b/src/main/java/org/bukkit/plugin/SimplePluginManager.java
|
|
@@ -132,6 +132,18 @@ public final class SimplePluginManager implements PluginManager {
|
|
try {
|
|
description = loader.getPluginDescription(file);
|
|
String name = description.getName();
|
|
+ // Spigot Start
|
|
+ if ( name.equalsIgnoreCase( "ProtocolLib" ) && !description.getVersion().endsWith( "-HACK" ) )
|
|
+ {
|
|
+ server.getLogger().log( Level.WARNING, "Skipping loading of ProtocolLib as it does not work with Spigot 1.8 builds!" );
|
|
+ continue;
|
|
+ }
|
|
+ if ( name.equalsIgnoreCase( "Orebfuscator" ) )
|
|
+ {
|
|
+ server.getLogger().log( Level.WARNING, "Skipping loading of Orebfuscator as it does not work with Spigot 1.8 builds!" );
|
|
+ continue;
|
|
+ }
|
|
+ // Spigot End
|
|
if (name.equalsIgnoreCase("bukkit") || name.equalsIgnoreCase("minecraft") || name.equalsIgnoreCase("mojang")) {
|
|
server.getLogger().log(Level.SEVERE, "Could not load '" + file.getPath() + "' in folder '" + directory.getPath() + "': Restricted Name");
|
|
continue;
|
|
--
|
|
1.9.1
|
|
|