mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-08-02 18:45:56 +00:00
Fix old database material data issue
Fix old database material data issue
This commit is contained in:
parent
eafd5520e1
commit
3d2306e7bb
1 changed files with 10 additions and 10 deletions
|
@ -265,13 +265,13 @@ public class PPlayerDataManager {
|
|||
"'" + pplayer.getParticleEffect().getName() + "', " +
|
||||
"'" + pplayer.getParticleStyle().getName() + "'" +
|
||||
"); " +
|
||||
"INSERT INTO pp_data_item (uuid, material, data) VALUES (" +
|
||||
"INSERT INTO pp_data_item (uuid, material) VALUES (" +
|
||||
"'" + pplayer.getUniqueId().toString() + "', " +
|
||||
"'" + pplayer.getItemData().getMaterial().name() +
|
||||
"'" + pplayer.getItemData().getMaterial().name() + "'" +
|
||||
"); " +
|
||||
"INSERT INTO pp_data_block (uuid, material, data) VALUES (" +
|
||||
"INSERT INTO pp_data_block (uuid, material) VALUES (" +
|
||||
"'" + pplayer.getUniqueId().toString() + "', " +
|
||||
"'" + pplayer.getBlockData().getMaterial().name() +
|
||||
"'" + pplayer.getBlockData().getMaterial().name() + "'" +
|
||||
"); " +
|
||||
"INSERT INTO pp_data_color (uuid, r, g, b) VALUES (" +
|
||||
"'" + pplayer.getUniqueId().toString() + "', " +
|
||||
|
@ -551,13 +551,13 @@ public class PPlayerDataManager {
|
|||
fixedEffect.getLocation().getY() + ", " +
|
||||
fixedEffect.getLocation().getZ() +
|
||||
"); " +
|
||||
"INSERT INTO pp_data_item (uuid, material, data) VALUES (" +
|
||||
"INSERT INTO pp_data_item (uuid, material) VALUES (" +
|
||||
"'" + fixedEffectUUID + "', " +
|
||||
"'" + fixedEffect.getItemData().getMaterial().name() +
|
||||
"'" + fixedEffect.getItemData().getMaterial().name() + "'" +
|
||||
"); " +
|
||||
"INSERT INTO pp_data_block (uuid, material, data) VALUES (" +
|
||||
"INSERT INTO pp_data_block (uuid, material) VALUES (" +
|
||||
"'" + fixedEffectUUID + "', " +
|
||||
"'" + fixedEffect.getBlockData().getMaterial().name() +
|
||||
"'" + fixedEffect.getBlockData().getMaterial().name() + "'" +
|
||||
"); " +
|
||||
"INSERT INTO pp_data_color (uuid, r, g, b) VALUES (" +
|
||||
"'" + fixedEffectUUID + "', " +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue