Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 04:20:04 +01:00
9a517de244
Fix ProtocolLib compatibility. SpigotMC/Spigot@710eb7514b Bump protocol to 1.8 SpigotMC/Spigot@dd01fbe415 Merge the Protocollib fix into the snapshot branch SpigotMC/Spigot@8ff46693f6 Correctly send the MC|Brand packet SpigotMC/Spigot@0e0982d98c Block EchoPet as it causes client crashes with the 1.8 patch SpigotMC/Spigot@480804b38f Replace invalid items for 1.8 clients with (kinda) sane replacements SpigotMC/Spigot@892c121ff1 Fix the furnace progress bars for 1.8 clients SpigotMC/Spigot@a799b4d5ea
34 Zeilen
1.7 KiB
Diff
34 Zeilen
1.7 KiB
Diff
From 51cd0958df56ffd971da90b18d7010df99d02fa4 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 plugins which are not 1.8 compatible.
|
|
|
|
As they do 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..0b53084 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( "Orebfuscator" ) )
|
|
+ {
|
|
+ server.getLogger().log( Level.WARNING, "Skipping loading of Orebfuscator as it does not work with Spigot 1.8 builds!" );
|
|
+ continue;
|
|
+ }
|
|
+ if ( name.equalsIgnoreCase( "EchoPet" ) )
|
|
+ {
|
|
+ server.getLogger().log( Level.WARNING, "Skipping loading of EchoPet 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
|
|
|