Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-16 03:20:07 +01:00
Lets say this didn't happen
Dieser Commit ist enthalten in:
Ursprung
63233d4a0e
Commit
11fe7bede1
@ -1,4 +1,4 @@
|
|||||||
From eb8cdddd79ecd5713472caac985feb874c8e9950 Mon Sep 17 00:00:00 2001
|
From a2183033f2832025d51a0e22d8f0033c86f5a504 Mon Sep 17 00:00:00 2001
|
||||||
From: Thinkofdeath <thethinkofdeath@gmail.com>
|
From: Thinkofdeath <thethinkofdeath@gmail.com>
|
||||||
Date: Wed, 9 Apr 2014 13:29:57 +0100
|
Date: Wed, 9 Apr 2014 13:29:57 +0100
|
||||||
Subject: [PATCH] Convert player heads async
|
Subject: [PATCH] Convert player heads async
|
||||||
@ -112,7 +112,7 @@ index b241cfe..925e017 100644
|
|||||||
public Packet getUpdatePacket() {
|
public Packet getUpdatePacket() {
|
||||||
diff --git a/src/main/java/org/spigotmc/HeadConverter.java b/src/main/java/org/spigotmc/HeadConverter.java
|
diff --git a/src/main/java/org/spigotmc/HeadConverter.java b/src/main/java/org/spigotmc/HeadConverter.java
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..8cf9162
|
index 0000000..6f40f22
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/main/java/org/spigotmc/HeadConverter.java
|
+++ b/src/main/java/org/spigotmc/HeadConverter.java
|
||||||
@@ -0,0 +1,164 @@
|
@@ -0,0 +1,164 @@
|
||||||
@ -235,8 +235,8 @@ index 0000000..8cf9162
|
|||||||
+ for ( Property prop : newStyleProfile.getProperties().get( key ) )
|
+ for ( Property prop : newStyleProfile.getProperties().get( key ) )
|
||||||
+ {
|
+ {
|
||||||
+ NBTTagCompound nprop = new NBTTagCompound();
|
+ NBTTagCompound nprop = new NBTTagCompound();
|
||||||
+ nprop.setString( "Signature", prop.getValue() );
|
+ nprop.setString( "Signature", prop.getSignature() );
|
||||||
+ nprop.setString( "Value", prop.getSignature() );
|
+ nprop.setString( "Value", prop.getValue() );
|
||||||
+ propList.add( nprop );
|
+ propList.add( nprop );
|
||||||
+ }
|
+ }
|
||||||
+ properties.set( key, propList );
|
+ properties.set( key, propList );
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren